base rem as vw

Solutions on MaxInterview for base rem as vw by the best coders in the world

showing results for - "base rem as vw"
Eleonora
24 Mar 2018
1html {
2  font-size: 16px;
3}
4
5@media only screen and (max-width: 600) {
6  html {
7    font-size: 2.66vw; /* font-size=(16*100)/600; Onde 600 é a largura em px do protótipo*/
8  }
9  
10  .div-exemplo {
11    width: 10rem;
12    height: 5rem;
13  }
14}
15
similar questions
vh vs vw cssvh and vw
queries leading to this page
base rem as vwbase rem as vw