Skip to content

Feat: Replace aspect ratio utility with CSS aspect ratio #166

@NickDJM

Description

@NickDJM

Summary

All browsers support the aspect-ratio property now. The aspect ratio utility should reflect this.

Solution

Replace custom aspect ratio implementation with aspect-ratio property.

Additional context

https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestutilityRelated to a utility module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions