3 ms·
Someone while designing for the mobile, forgot about desktops. ``` :root { font-size: calc(1vw + 1vh + .5vmin); } html { max-width: 100%; }
by Brajeshwar 2y ago
Someone while designing for the mobile, forgot about desktops.
```
:root {
font-size: calc(1vw + 1vh + .5vmin);
}
html {
max-width: 100%;
}
body {
color: #444;
font-family: "Vollkorn", georgia, serif;
margin: 0 auto;
max-width: 100%;
}
```
They can remove the width on the HTML and replace the body's `max-width: 100%` with something like;
```
width: 100%;
max-width: 1200px;
```