Set width in CSS without media queries

Let’s say I’d like to set the width of an image to 20% of the viewport width. img { width: 20vw; } The problem now is that when we look at the website on mobile devices it appears way too small because the viewport is much smaller. One solution might be to use media queries, but it’s actually not necessary in this case. We can actually set the min-width to be a certain value so that it will not be any smaller....

1 min · Jesstern Rays