easy5 pts · first answer countshtml-csscss-architecture
Nesting rules without Sass
Modern browsers support native CSS nesting. What does this compile to in the browser?
.card {
padding: 16px;
&:hover { box-shadow: 0 2px 8px #0003; }
.title { font-weight: 600; }
}Discussion 0
Join free to post in the discussion.
Related questions
- What the main element is forFrontend Developer
- article versus sectionFrontend Developer
- Link or buttonFrontend Developer
- What type="email" gives youFrontend Developer
- Why <!DOCTYPE html> mattersFrontend Developer
- The lang attributeFrontend Developer
- Width on a spanFrontend Developer
- Caption for a chart imageFrontend Developer