Clamping Values
Let's suppose we have a column of text, and we want it to occupy 65% of the viewport.
We can do that with a percentage-based width, and some auto-margins for centering:
.column {
width: 65%;
margin-left: auto;
margin-right: auto;
}
This works ...
devmichalj.hashnode.dev4 min read