Home » SASS at root Directive

SASS at root Directive

by Online Tutorials Library

Sass @at-root Directive

Sass @at-root directive is a collection of nested rules that are used to style block at the root of the document.

Syntax:


Sass @at-root Directive Example

Let’s take an example to demonstrate the usage of Sass @each directive with multiple assignments and maps. We have an HTML file named “simple.html”, having the following data.

HTML file: simple.html

You may also like