4 ms·
Unfortunately it's somewhat consistent with the rest of css (e.g. padding is top left bottom right)
by irishsultan 10y ago
Unfortunately it's somewhat consistent with the rest of css (e.g. padding is top left bottom right)
- judah 10y agoSmall correction: padding is top right bottom left. In other words, clockwise.
- irishsultan 10y agoMakes more sense, I always forget, which is why I looked it up, but apparently I either misread something or I can't remember it for longer than 2 or 3 seconds.
- cr0sh 10y agoI always used the mnemonic "TRouBLe" to remeber the order. There was another one for a different CSS thing (that I'm blanking on) that was based on the word "love" or something like that...
- danadam 10y agoLoVe HAte, the order of pseudo classes: :link :visited :hover :active
- cr0sh 10y agoThat's it! Thank you!
- yellowapple 10y agoI'm starting to suspect that CSS was invented by Taylor Swift.
- deleted 10y ago[deleted]