Problem: Feature Grid with Container Queries
Try to use CSS Container Queries to build a responsive feature grid that adjusts column count based on container width—1, 2, or 4 columns.
We'll cover the following...
We'll cover the following...
Problem description
You have a <div class="features">
containing multiple <div class="feature">
items. Write CSS so the grid:
Shows 1 column when the container’s inline size is less than
500px
...