mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
rest in peace _functions.scss
This commit is contained in:
parent
fda92d02a3
commit
575769c34d
2 changed files with 0 additions and 18 deletions
|
@ -1,17 +0,0 @@
|
|||
//
|
||||
// Functions
|
||||
//
|
||||
|
||||
|
||||
// Remove the unit of a length
|
||||
// Source: https://css-tricks.com/snippets/sass/strip-unit-function/
|
||||
//
|
||||
// @param {Number} $number - Number to remove unit from
|
||||
// @return {Number} - Unitless number
|
||||
|
||||
@function strip-unit($number) {
|
||||
@if type-of($number) == "number" and not unitless($number) {
|
||||
@return $number / ($number * 0 + 1);
|
||||
}
|
||||
@return $number;
|
||||
}
|
1
scss/bootstrap.scss
vendored
1
scss/bootstrap.scss
vendored
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
// Core variables and mixins
|
||||
@import "functions";
|
||||
@import "custom";
|
||||
@import "variables";
|
||||
@import "mixins";
|
||||
|
|
Loading…
Reference in a new issue