To create a layout that adapts to different screen sizes, developers use ________ queries in CSS.
- Flex
- Grid
- Media
- Responsive
Developers use Flex queries in CSS to create layouts that adapt to different screen sizes. Flexbox is a one-dimensional layout method for laying out items in rows or columns.
Loading...
Related Quiz
- Which pseudo-class in CSS is used to target elements based on their position in a parent element, like the first child?
- If a developer wants to add a special icon before the content of a hyperlink to indicate that it opens in a new window, which pseudo-element should they use to achieve this without altering the HTML markup?
- How can you specify a fallback font if the primary font fails to load?
- You want to overlay a button on top of an image. The button should be at the bottom right corner of the image. How would you position the button using CSS?
- What does the flex-direction property control in a flex container?