Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Incompatible units compiler error when using min(), max() or clamp() #16

@lkssmnt

Description

@lkssmnt

Example:
width: min(700px, 100%);

throws this error:
ScssPhp \ Exception \ CompilerException Incompatible units: "px" and "%"

Works fine when I compile the scss via the sass --watch tool.

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