Sitemap

๐Ÿš€ ๐‡๐จ๐ฐ ๐ญ๐จ ๐Œ๐š๐ค๐ž ๐˜๐จ๐ฎ๐ซ ๐‚๐’๐’ ๐Œ๐จ๐ซ๐ž ๐‘๐ž๐ฎ๐ฌ๐š๐›๐ฅ๐ž ๐š๐ง๐ ๐Œ๐š๐ข๐ง๐ญ๐š๐ข๐ง๐š๐›๐ฅ๐ž

Nov 15, 2025

--

๐๐ซ๐จ๐›๐ฅ๐ž๐ฆ?
Imagine, you are going to design a web page. When writing HTML youโ€™ve probably noticed that it has a clear nested and visual hierarchy. CSS, on the other hand, doesnโ€™t. So, when we need to add style for HTML tags, you might repeat the HTML selector over and over. How can we prevent this?

๐’๐จ๐ฅ๐ฎ๐ญ๐ข๐จ๐ง?
Sass solves this problem by nesting.

Get Shirin Monzaviโ€™s stories inย yourย inbox

Join Medium for free to get updates fromย thisย writer.

๐‡๐จ๐ฐ?
1๏ธโƒฃ Install Sass. npm install sass
2๏ธโƒฃ Create your .scss file and start nesting

Press enter or click to view image in full size

๐‡๐š๐ฏ๐ž ๐ฒ๐จ๐ฎ ๐ž๐ฏ๐ž๐ซ ๐ฎ๐ฌ๐ž ๐’๐š๐ฌ๐ฌ ๐จ๐ซ ๐’๐œ๐ฌ๐ฌ? ๐ˆ๐Ÿ ๐ฌ๐จ, ๐’๐ก๐š๐ซ๐ž ๐ฒ๐จ๐ฎ๐ซ ๐ž๐ฑ๐ฉ๐ž๐ซ๐ข๐ž๐ง๐œ๐ž ๐ข๐ง ๐ญ๐ก๐ž ๐œ๐จ๐ฆ๐ฆ๐ž๐ง๐ญ.

--

--

Shirin Monzavi
Shirin Monzavi

Written by Shirin Monzavi

0 followers

Senior .NET Backend Developer with 7+ years of experience building scalable services using C#, .Net Core, SQL, and Entity Framework.