Skip to content

CSS variable in clamp() without default value #412

Closed
@kamenf

Description

@kamenf

When using CSS variable without default value in clamp() reports "The types are incompatible" error.

Example:

.my-class {
  font-size: clamp(0.5rem, var(--outer-size) / 7.5, 2rem);
}

generates:

Value Error : font-size The types are incompatible )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions