Graupl / graupl

The Graupl mono-repo.
1 stars 0 forks source link

Feat: Padding/margin specific to writing direction #40

Closed NickDJM closed 2 months ago

NickDJM commented 2 months ago

Summary

We should support classes for padding-block-start, padding-block-end, padding-inline-start, padding-inline-end (and the margin equivalents).

The only thing we should consider is if we need top/bottom/left/right still... Probably, since they server different purposes. We'll just need to figure out the class names for the new ones.

Additional context

https://drafts.csswg.org/css-logical/#padding-properties