Skip to content

[css-images] Add object-fit: stretch to force SVGs to stretch without keeping their aspect ratio? #12378

Open
@benface

Description

@benface

Not sure if this is the right place for this question/issue, but I can't for the life of me manage to stretch an img with no regard for its aspect ratio if the src is an SVG. All browsers have this behavior, not sure if it's specified somewhere?

Codepen here

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