1
0
Fork 0
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:
Mark Otto 2016-05-11 11:36:40 -07:00
parent fda92d02a3
commit 575769c34d
2 changed files with 0 additions and 18 deletions

View file

@ -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
View file

@ -5,7 +5,6 @@
*/
// Core variables and mixins
@import "functions";
@import "custom";
@import "variables";
@import "mixins";