Amidst the px, em, percent, and so much more units made available with CSS, confusions on the perfect units for dimensioning your HTML elements cou...
For further actions, you may consider blocking this person and/or reporting abuse
Really nice read. I’ve always preferred using the min() max() functions rather than explicitly defining the max-width etc. because I feel it looks cleaner.
width: min(520px, 90%);
As opposed to
width: 90%;
max-width: 520px;
But I’ll start looking into using more of relative units.
Thank you Temitope! I would also explore using the min-max syntax.
The article is really nice, learnt a lot ngl... though I do use 'em' a lot haven't considered using "rem" , which I'll start using.
The max-min syntax, will definitely start applying that too.
I'm happy there's a lot for you to take away from the article.
Very interesting read, you unraveled the important areas around CSS for me.
Thank you!🤝🏿
I've been using CSS for a while and the rules you mentioned here just make sense. 👌🏽
Glad it did!
These were nice points to think about and work on. Thanks for sharing.
Thank you!
Thank you for this, basically writing less lines of css that saves time and achieves more.
Glad I could help :)