mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
rest in peace _functions.scss
This commit is contained in:
parent
fda92d02a3
commit
575769c34d
@ -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 New Issue
Block a user