If you do, please come back some day explaining the pros and cons of every CSS measurement!
Nothing you said has been wrong, it's just that this post only goes "There are pixels, and then there are viewport units. Maybe use viewport units more often?"
This only leaves us with ambiguity. People could end up avoiding px at all costs, because of the lack of context that has been given.
Your example of a 100px by 100px box to a 30vw x 30vh box, changes next to everything:
The element goes from being a ratio of 1:1 to one of ?:?
The element shrinks and grows vertically when scrolling on mobile, because of vh
The first is of static size, the other is completely fluid
So,
Yes! You can and should mention using viewport units! They are amazing!
No! Nothing you in particular said is wrong!
But foregoing the explanation as to why you should do something, leaves the post impractical.
Think of a use-case, make up a good example, and post again. You'll see that when you actually explain things a bit in depth, people will be way more appreciative as a whole.
Why - you say you use pure CSS. I'll presume a preprocessor don't see any reason not to use scss,less or stylus -anyway theme migration static, generatiin the right way
don't worry buddy the feeling is mutual
Blogger and Programmer, I was talking to optimisedu...
This is all getting way too cumbersome, lol
Let's just put it to rest
getting? I conceded 2 days ago LMAO
Gust Van De Wal, I'll delete this post tommorow ASAP.
If you do, please come back some day explaining the pros and cons of every CSS measurement!
Nothing you said has been wrong, it's just that this post only goes "There are pixels, and then there are viewport units. Maybe use viewport units more often?"
This only leaves us with ambiguity. People could end up avoiding
pxat all costs, because of the lack of context that has been given.Your example of a 100px by 100px box to a 30vw x 30vh box, changes next to everything:
So,
Yes! You can and should mention using viewport units! They are amazing!
No! Nothing you in particular said is wrong!
But foregoing the explanation as to why you should do something, leaves the post impractical.
Think of a use-case, make up a good example, and post again. You'll see that when you actually explain things a bit in depth, people will be way more appreciative as a whole.
Why - you say you use pure CSS. I'll presume a preprocessor don't see any reason not to use scss,less or stylus -anyway theme migration static, generatiin the right way
Good Point
Yeah.