What is the correct CSS code to solve A two-column layout should become one column on small screens. for a data table?
Problem: A two-column layout should become one column on small screens.
Context: This CSS troubleshooting question uses a data table example.
Correct approach: Use a media query to change the grid template at a breakpoint.
Working CSS:
@media (max-width:768px) { .layout { grid-template-columns:1fr; } }
Looking for the latest
Sarkari Result 2026
updates?
Check the latest government exam
results, merit lists and result updates
on Sarkari Resultess.