rule @community/rule-css-logical-properties

Css Logical Properties

Replace physical CSS directional properties (margin-left, margin-right, padding-left, padding-right, border-left, border-right, left:, right:) with logical equivalents (margin-inline-start, margin-inline-end, padding-inl…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
103/402/802
$ aoe install @community/rule-css-logical-properties

Projection

Always in _index.xml · the agent never has to ask for this.

CssLogicalProperties [rule] v1.0.0

Replace physical CSS directional properties (margin-left, margin-right, padding-left, padding-right, border-left, border-right, left:, right:) with logical equivalents (margin-inline-start, margin-inline-end, padding-inline-start, padding-inline-end, border-inline-start, inset-inline-start) to support both LTR and RTL layouts without extra CSS.

Source

aoe-engine/examples/frontend-design/primes/compiled/@community/rule-css-logical-properties/atom.yaml