📜  Sass-CSS扩展

📅  最后修改于: 2020-10-20 05:40:21             🧑  作者: Mango


在本章中,我们将研究CSS扩展。 CSS扩展可以用来增强网页的功能。下表列出了SASS中使用的一些CSS扩展-

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.