|
|
|
|
|
by chrisfarms
4487 days ago
|
|
I find there is often a need for a relative inverse relationship between screen width and the size of an element. The most obvious of which is buttons. As screen width decreases the probability of the user being on a touch device increases, and you tend to want relatively larger fat-finger-friendly buttons at smaller screen sizes. I guess calc() with rem sizing could work well here. But calc() always feels like cheating to me. |
|