Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for new syntax #6

Open
panec opened this issue Jul 29, 2014 · 0 comments
Open

Add support for new syntax #6

panec opened this issue Jul 29, 2014 · 0 comments
Assignees

Comments

@panec
Copy link
Owner

panec commented Jul 29, 2014

item_: (
        background-color : (
            default                           : #FFF,
            ":nth-child(1)"                   : invert( rgba( #F00, 1 ) ),
            ":nth-child(2)"                   : invert( rgba( #0F0, 1 ) ),
            ":nth-child(3)"                   : invert( rgba( #00F, 1 ) ),
            ":nth-child(n+4):nth-child(-n+7)" : invert( rgba( #F0F, 1 ) ),
        ),

        clear : (
            default            : null,
            ":nth-child(3n+4)" : (
                default : null,
                md      : left,
            ),
            ":nth-child(2n+3)": (
                default : left,
                md      : null,
            ),
        ),
        float : left,
        width : (
            default : 20%,
            xxs     : 50%,
            xs      : 33.3%,
            sm      : 25%,
            md      : 20%,
        )
    )
@panec panec self-assigned this Jul 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant