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

are the CSS grid properties supported ? #2379

Closed
JohnMica opened this issue May 15, 2017 · 3 comments
Closed

are the CSS grid properties supported ? #2379

JohnMica opened this issue May 15, 2017 · 3 comments

Comments

@JohnMica
Copy link

JohnMica commented May 15, 2017

not an issue per say,

I have noticed that on Codekit using CSS grid-layout properties is not working (i have asked Brian to update to the latest version, just in case) but I wanted to ask if it these are supported in sass not scss ? or is my syntax wrong ?


body
    padding: 10px
    display: grid
    grid-template-columns: repeat(3 1fr)
    grid-template-rows: repeat(3 1fr)
    grid-template-areas:
        header header header
        section section section
        footer footer footer


@xzyfer
Copy link
Contributor

xzyfer commented May 16, 2017

This sounds like a question for @nex3. That syntax causes a syntax error on that latest Ruby Sass 3.5.0 build. So it may be a support feature but the syntax may be incorrect.

@nex3
Copy link
Contributor

nex3 commented May 18, 2017

The indented syntax doesn't support multiline properties. You'll have to write

body
    padding: 10px
    display: grid
    grid-template-columns: repeat(3 1fr)
    grid-template-rows: repeat(3 1fr)
    grid-template-areas: header header header section section section footer footer footer

It's not great, but it's the best I can offer right now.

@mgreter
Copy link
Contributor

mgreter commented May 20, 2017

Closing as no action required by libsass.

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

4 participants