28th June 2020 |
CSS, General dev
30th June 2019 |
CSS, Design, General dev, Weekly Gems
…without making it look weird or/and hard to read.
1. if it’s 0, drop the units
Easy. If you’re setting a margin, padding, box-shadow or anything like that, you can just put
0 in CSS is always a zero.
The difference is usually 2 characters.
3rd May 2018 |
CSS, Geeky, Snippets
Second week and I’m still doing it, yay me!
I’m reading Cari Mora (newest book by Thomas Harris) but it’s awful. But I’m not ditching books because of my FOMO. (Well, someone printed that, so maybe the ending will be worth the misery.)
4th May 2017 |
You may probably think, that it’s nothing new and everyone already did that.
Yeah, well, maybe, probably. But this is better (or just cooler).
Did you use
pointer-events: none; ? Nah? Did you make super-cool and super-easy animations with Font Awesome? Did you really take care of the traps that might be a challenge for some browsers?
Well, let me show you then.
If you have a fanpage on Facebook and you’re a perfectionist, then you probably noticed at least one absolutely annoying thing hidden inside theirs CSS code… continue reading