top | item 26709888

(no title)

andeee23 | 4 years ago

Don't have any references for you but maybe I can give some perspective on it.

The things that still trip me up with CSS after a few years of full time frontend work are the following:

1. Dynamic 2D stuff

CSS kinda sucks for most 2D dynamic layouts. Especially when you have heights that are dependent on widths or the other way around. With CSS grid and the upcoming aspect-ratio things are better but I still run into some limitations in especially dynamic web apps / data visualizations I make and I usually resort to calculating the widths/heights in javascript so I can have full control.

2. Going into the third dimension

I'm not a big fan of the z-index / position absolute / relative stuff going on in css. I'm not sure what a better way would look like, but every so often I run into weird issues where a parent somewhere is relative and it messes up an element I'm trying to absolutely position.

Most things can be worked around but it's still annoying and usually take longer than what I feel they should.

Apart from these, most of the quirks of CSS are very mild and can be worked around easily. I actually find writing CSS quite enjoyable day to day.

discuss

order

No comments yet.