Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Allowing variables (constants) in attributes #726

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 23, 2015

  1. Resolving constants in attribute values, alowed as CSS val()

    This is my first pull request ever. Excuse all my mistakes (you are welcome to point them out though).
    
    Now properties can be expressed as variables, which will use the constants defined in the init.
    
    e.g. 
    val(--constantname)  =   _constantname
    
    Example usage:
    data-top="margin-top: val(--constantname)px;"
    socialblogsite committed May 23, 2015
    Configuration menu
    Copy the full SHA
    c70812e View commit details
    Browse the repository at this point in the history