.logo{
width: max(10rem,18vw);
}
rem and vw and vh the
and why 10rem why not 100rem and what is the width
.logo{
width: max(10rem,18vw);
}
rem and vw and vh the
and why 10rem why not 100rem and what is the width
1 rem = 16px
1vw = 1% of viewport width
1vh = 1% of viewport height
rem units have nothing to do with the viewport.
Take a look at this article to learn more CSS units.
Hope that helps!
Nicolas