Put in order · HTML and CSS course · Module 9: Modern CSS
Nested @media in CSS Nesting
Arrange the correct syntax for nested @media in CSS Nesting:
Items to put in order
- }
- { padding: 2rem; }
- @media (width > 768px)
- .card {
You can check the correct answer by solving this task in the CodeWorlds game.