Which CSS property is typically used to set breakpoints in responsive design?
- @media
- breakpoint
- media
- query
In responsive web design, the @media rule is used to set breakpoints. It allows you to define specific CSS styles that apply when certain conditions are met, such as screen width or orientation. By using @media queries, you can create responsive layouts that adjust to different screen sizes, making your website look and function well on various devices.
Loading...
Related Quiz
- What is the role of the grid-gap property in a grid layout?
- In the CSS box model, the ________ area is the space where content, like text or images, is displayed.
- How do you include a mixin in your SCSS code?
- You're working on a website where you want a circular profile picture, but the original image is square. How would you achieve this effect using CSS?
- You are tasked with creating a vintage look for images on a webpage. Which CSS filter or combination of filters would you likely use?