I was curious about this I want my CSS to be cleaner and want each part to be in a big bracket but it turns out that you can't do it so I wonder if there is any other way to have each part of CSS in a chunk I would love to find a way that works like HTML: a big bracket that can be open or close
0
Have a look at SCSS. It allows you to write CSS code like this:
<div id="parent"> Div_parent
<div id="child"> Div_child </div>
</div>
#parent {
background-color: red;
#child {
background-color: blue;
}
}