DEV Community

Discussion on: What do you find the most difficult with CSS?

Collapse
 
dirtycode1337 profile image
Dirty-Co.de

Top issue:
How does z-index really work. I've usually done it in trial & error until it worked, but I know there is a concept behind with its stacking order and how browsers create a new stacking context but I've never looked under the hood very deep.

Second struggle:
Make text-ellipsis if a text is overlapping a fixed height box.

Third: Beautify scrollbars ... ;)

What could have helped me earlier?
Knowing the power of selectors and its strenght by understanding its CSS specificity.

Collapse
 
dirtycode1337 profile image
Dirty-Co.de

Also I've found an old tweet about CSS from dev.to ;) twitter.com/ThePracticalDev/status...