Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fluid html container with horizontal whitespace on mobile devices.
<div class="fluid-container">
[ I'm a fluid container ]
.fluid-container {
background: lightblue;
width: min(96%, 62.5rem);
margin: 0 auto;

This comment has been minimized.

Copy link

@GSingh1994 GSingh1994 commented Mar 23, 2021

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment