2 ms·
CSS isn't hard. It's design is broken on a few things which makes it look more complicated than it should. I've done web for 20 years and I still Google around
by h1d 8y ago
CSS isn't hard. It's design is broken on a few things which makes it look more complicated than it should.
I've done web for 20 years and I still Google around when it comes to aligning things vertically centered and I sometimes fall back to using tables for layout because it's still the most stable way to keep stuff at where it should be.
And of course the way you need to declare in a very redundant way for selectors on multiple elements is annoying but we have at least sass and my preference is using stylus (combined with pug) which removes a lot of those unnecessary declarations go away with the ability to define variables in 1 file and use it all over.