Skip to content

unit conversion #123

@jakob-e

Description

@jakob-e

I did a few unit conversion functions https://gist.github.com/jakob-e/6579770
feel free to use :)

Example:
.foo { font-size:em(16px); } => .foo { font-size:1em; }
.foo { font-size:em(2,2,2); } => .foo { font-size: 0.5em; } // em compound handling
.foo { font-size:rem(1cm); } => .foo { font-size: 2.3622em; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions