Skill Wiki v0.1.0
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
4.0
Edges
3 out · 1 in
Tokens
103/380/729
$ prime 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

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

Compiled at 2026-05-07