fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Forgotten images.
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
2022
/
styles
/
utils
/
bourbon
/
library
/
_strip-unit.scss
1
@charset "UTF-8";
2
3
/// Strips the unit from a number.
4
///
5
/// @argument {number} $value
6
///
7
/// @return {number (unitless)}
8
///
9
/// @example scss
10
/// $dimension: strip-unit(10em);
11
///
12
/// // Output
13
/// $dimension: 10;
14
15
@function strip-unit($value) {
16
@return ($value / ($value * 0 + 1));
17
}