@hamatti it is like you insert a USB device in your computer, the first way is wrong, the second is also wrong, then the third is the right 🙂
Conversation
Notices
-
Embed this notice
Renne Rocha (rennerocha@chaos.social)'s status on Friday, 03-Jan-2025 03:01:47 JST Renne Rocha -
Embed this notice
Juhis (hamatti@mastodon.world)'s status on Friday, 03-Jan-2025 03:01:48 JST Juhis Is there any handy mnemonics for remembering in which order the values come in CSS for things like margin or padding?
I never remember if it's left-right or bottom-up first in the one with two values or in which order they come up when using all four.
I always just put in values and then open developer tools to see how it went. But I'd like to learn them because I always get them wrong.
-
Embed this notice