paint-brush
Nesting in Less and Sassby@kolosek

Nesting in Less and Sass

by Nesha3mMarch 12th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

CSS is used for describing the presentation of a document written in a markup language. If there is a child element it should be defined completely separate from the parent. Less and Sass are CSS pre-processors which extend CSS language in valuable ways. Nesting makes the code easy to read, extend, and maintain. It is an option which has same interpretation in less and sass so the next explanation is universal for both of them. Nesting must be used for pseudo-classes because it is a must. It's ultra-intuitive - just put ampersand next to pseudo-class.

Company Mentioned

Mention Thumbnail
featured image - Nesting in Less and Sass
Nesha HackerNoon profile picture
Nesha

Nesha

@kolosek

CEO @ Kolosek.com

About @kolosek
LEARN MORE ABOUT @KOLOSEK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Nesha HackerNoon profile picture
Nesha@kolosek
CEO @ Kolosek.com

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here