Skip to content

Reduce Aspect Ratio Fraction #9

@tomhodgins

Description

@tomhodgins
@media (min-aspect-ratio: 160000000000/90000000000) {
  :root {
    background: lime;
  }
}

correct minification

@media (min-aspect-ratio:16/9){:root{background:lime}}
  • ratio value can be reduced

CSSnano output

@media (min-aspect-ratio:160000000000/90000000000){:root{background:lime}}
  • ratio numbers keep unneeded 0000000000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions