
Tech
Do you still need SCSS? What Next.js and Angular 22.2 actually do with native CSS nesting
Another comparison between Angular 22.2 and React/Next.js. The previous one covered @boundary , the new block for template errors: Template errors: React and Next.js vs Angular 22.2's @boundary .
Browsers now support nested CSS without a preprocessor:
.card {
padding : 1rem ;
.title { font-weight : 600 ; }
& :hover { outline : 1px solid ; }
}
Cross-browser support for the relaxed nesting syntax arrived in Firefox 117...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to