Skip to content

at2x mixin doesn't support single keyword values for background-size #751

@alexgibson

Description

@alexgibson

Description

It should be possible to use the at2x mixin with background-size single keyword values, such as cover and contain.

Steps to reproduce

@include at2x('/path/to/some/background-image.png', cover);

Expected result

background-size: cover;

Actual result

background-size: cover auto; which is invalid.

Environment

Firefox Nightly 97
macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug 🪲Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions