Sass @ Rules

Last Updated:

Sass @ Rules

The following are the list of inbuilt string functions available in Sass language.

@mixin Allows you to define styles that can be re-used throughout your stylesheet.
@include Allows you to include mixins into the current context.
@function Allows you to define complex operations on SassScript values that you can re-use throughout your stylesheet.
@return Indicates the value to use as the result of calling a function.
@extend Allows you to inherit the styles of one selector to the another.
@error Allows you to throw an error and stop further execution.
@warn Allows you to throw a warning, but it will not stop executing further.
@debug Allows you to see the value of a variable or expression while you're developing your stylesheet.
@at-root Allows you to whether or not to target the root of the document instead of using the normal nesting.
@import Allows us to combine multiple Sass files into one CSS file.

Share this Page

Meet the Author