Skip to content

Power/exponent expression support #684

Closed
@scottkellum

Description

@scottkellum

Thoughts on adding native support for exponents in Sass expressions? While a simple loop can easily calculate positive integers, other values are more difficult to calculate. It can be done but not efficiently in pure Sass.

Preferred syntax would be like Ruby:

5px**2

A function could work as well:

pow(5px, 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestunder considerationThe Sass team is debating whether to do this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions