Sass – CSS Extensions


Sass – CSS Extensions


”;


In this chapter, we will study about CSS Extensions. CSS Extensions can be used to enhance the functionality of the web pages. The following table lists down some of the CSS extensions used in SASS −

S. No. CSS Extension & Description
1 Nested Rules

It is a way of combining multiple CSS rules within one another.

2 Referencing Parent Selectors: &

It is the process of selecting parent selector by using the & character.

3 Nested Properties

It allows nesting of properties into other properties which leads to grouping of another related code.

4 Placeholder Selectors

Sass supports placeholder selector using class or id selector by making use of @extend directive.

Advertisements

”;

Leave a Reply

Your email address will not be published. Required fields are marked *