mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
rest in peace _functions.scss
This commit is contained in:
@@ -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
|
// Core variables and mixins
|
||||||
@import "functions";
|
|
||||||
@import "custom";
|
@import "custom";
|
||||||
@import "variables";
|
@import "variables";
|
||||||
@import "mixins";
|
@import "mixins";
|
||||||
|
Reference in New Issue
Block a user