Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings

Power/exponent expression support #684

Copy link
Copy link

Description

@scottkellum
Issue body actions

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)
Reactions are currently unavailable

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or requestunder considerationThe Sass team is debating whether to do thisThe 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.