Skip to content

[css-box-4] Adding physical versions of (margin|padding|border)-(inline|block) #11436

@yassh

Description

@yassh
  • margin-block
  • margin-inline
  • padding-block
  • padding-inline
  • border-block
  • border-inline

These logical properties are useful features. However, when used in combination with CSS written in traditional physical properties, it results in a mix of logical and physical properties, compromising code consistency.

If there were properties named in physical versions (such as margin-vertical, margin-horizontal, padding-vertical, padding-horizontal, border-vertical, border-horizontal), they could be more conveniently used in physically-based CSS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions