RSS FeedTwitterMastodonBlueskyShare IconHeart IconGithub IconArrow IconClock IconGUI Challenges IconHome IconNote IconBlog IconCSS IconJS IconHTML IconShows IconOpen Source Software IconSpeaking IconTools IconShuffle IconNext IconPrevious IconCalendar IconCalendar Edit IconNotebook IconObservable Notebooks IconSlash IconGoogle G Icon
A series of images of an avatar doing a bunch of skateboard tricks.
atom@argyleink
notecss

is it time to forget about physical properties like margin-top and left?

Can't throw out the x/y transforms tho 😭

3 mentions #

10likes
1reposts
  • GENKI

Join the conversation on

@argyleink I've just spent a bunch of time moving over to logical properties - RTL support is so much cleaner now. Just having a shorthand for setting vertical/horizontal property pairs is worth it.

Paul MasonPaul Mason

@argyleink Wanted to write something about this for some time, thanks for the reminder :)

https://blog.kizu.dev/logical-props/

Notes on Using Logical Properties and Values
Roma KomarovRoma Komarov

@argyleink
No, why should I unlearn the old ways? I don't write websites that are translated into different languages with different reading directions.

So the new porperties are lost on me.

Nevertheless they are a great idea.

Jens GrochtdreisJens Grochtdreis