I always tell people to do this — to always insist on the beautiful, and today, I saw myself preaching it to none other than myself.
Earlier at work, I almost snapped at someone after hearing some words that you wouldn’t want to hear when you’ve been working so hard on something to the point of being sleep-deprived for two straight weeks. Just like what Albus Dumbledore said, It’s always just a choice between what’s easy and what’s right. …
Let’s kick the series off with a quick one.
Fast-forward to 2010, CSS3 came along and it introduced a lot of new features including viewport-based measurement units. That’s what we’re looking at today.
vw: represents 1% of the viewport’s width
vh: represents 1% of the viewport’s height
One important thing to remember is that these units will ALWAYS be relative to the viewport. The only exception here is if you’re using it inside an iframe (since they are sort of separate windows on their own). …
If you’re a developer and/or a programmer, I’m certain that there once came a time in your career when you looked back at your old codes and realize that everything you’ve been doing before were rubbish. For some people, this happens every couple of months, and for some people (like me) it happens way too frequently.
It may sound horrible, but it’s actually a good thing because, more often than not, this phenomenon happens after discovering and/or learning something new. …