ie_hex_str
  • References/CSS/Sass/Functions

ie_hex_str($color) Converts a color into the format understood by IE filters.

2025-01-10 15:47:30
opacity
  • References/CSS/Sass/Functions

opacity($color) Returns the alpha component (opacity) of a color. This is 1 unless otherwise specified.

2025-01-10 15:47:30
@function
  • References/CSS/Sass/@-Rules and Directives

Function Directives It is possible to define your own functions in sass and use them in any value or script context. For example:

2025-01-10 15:47:30
str_index
  • References/CSS/Sass/Functions

str_index($string, $substring) Returns the index of the first occurrence of $substring in $string

2025-01-10 15:47:30
selector_unify
  • References/CSS/Sass/Functions

selector_unify($selector1, $selector2) Unifies two selectors into a single selector that matches only elements matched by

2025-01-10 15:47:30
selector_nest
  • References/CSS/Sass/Functions

selector_nest($selectors...) Return a new selector with all selectors in $selectors nested beneath one another

2025-01-10 15:47:30
@media
  • References/CSS/Sass/@-Rules and Directives

@media @media directives in Sass behave just like they do in plain CSS, with one extra capability: they can be nested

2025-01-10 15:47:30
abs
  • References/CSS/Sass/Functions

abs($number) Returns the absolute value of a number.

2025-01-10 15:47:30
simple_selectors
  • References/CSS/Sass/Functions

simple_selectors($selector) Returns the simple

2025-01-10 15:47:30
Nested rules
  • References/CSS/Sass/CSS Extensions

Nested Rules Sass allows CSS rules to be nested within one another. The inner rule then only applies within the outer rule’s selector. For example:

2025-01-10 15:47:30