@media (max-width: 600px) { .mr-home { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 400px) { .mr-home { grid-template-columns: repeat(1, 1fr); } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter