Coding task · HTML and CSS course · Module 7: SASS
Review: Practice: Media Queries
Media queries let you adapt the look of a page to the screen size - like an Egyptian architect designing a chamber that changes its lighting depending on the time of day. Use @media (min-width: 768px) { } to apply styles above a certain width.
Task
Create a page with a heading and three cards. Use @media (min-width: 768px) to display the cards side by side on tablets, and @media (min-width: 1024px) to add larger spacing on desktop.