inverse width in relation of the viewport
i want to grow an image based on the vw
the bigger the screen, the smaller the icons until they reach a certain vw (100vw) and if the screen is smaller (1440px & lower) the img width increases
4 Replies
Combo of media queries and min() or clamp function
how
this is from claude
you'll learn jack-shit if you ask claude... look up media queries and clamp on mdn and read the articles, then play around with them
btw
tell me what you think about this
https://codesandbox.io/p/sandbox/fnlkxd
if you're too lazy to check the sandbox;
here's the code
https://pastecord.com/yminetomos.typescript