English 中文(简体)
Sass - CSS Extensions
  • 时间:2024-12-22

Sass - CSS Extensions


Previous Page Next Page  

In this chapter, we will study about CSS Extensions. CSS Extensions can be used to enhance the functionapty of the web pages. The following table psts 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