MENU
Math
| ceil(@num) | Rounds up to the next highest integer. |
| floor(@num) | Rounds down to the next lowest integer. |
| percentage(@num) | Converts a floating point number into a percentage string. |
| round(@num) | Applies rounding. |
| sqrt(@num) | Calculates square root of a number. Keeps units as they are. |
| abs(@num) | Calculates absolute value of a number. Keeps units as they are. |
| sin(@num) | Calculates sine function. |
| asin(@num) | Calculates arcsine (inverse of sine) function. |
| cos(@num) | Calculates cosine function. |
| acos(@num) | Calculates arccosine (inverse of cosine) function. |
| tan(@num) | Calculates tangent function. |
| atan(@num) | Calculates arctangent (inverse of tangent) function. |
| pi() | Returns π (pi). |
| pow(@num1,@num2) | Returns the value of the first argument raised to the power of the second argument. |
| mod(@num1,@num2) | Returns the value of the first argument modulus second argument. |
| min(@num1,@num2,......) | Returns the lowest of one or more values. |
| max(@num1,@num2,......) | Returns the highest of one or more values. |
.a:after{
content: round(sqrt(pow(2,3.5))) asin(sin(pi()));
}.a:after {
content: 3 0rad;
}