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

I can't find example for that #14

Open
thigrand opened this issue Dec 19, 2017 · 0 comments
Open

I can't find example for that #14

thigrand opened this issue Dec 19, 2017 · 0 comments

Comments

@thigrand
Copy link

Hey,
Sorry if this is wrong place to ask. But i can't find any answer for that question:
I examine naming-lines and repeat() method connection.
There is this sentense on w3c spec: (https://www.w3.org/TR/css-grid-1/#funcdef-repeat)
"If the repeat() function ends up placing two adjacent to each other, the name lists are merged. For example, repeat(2, [a] 1fr [b]) is equivalent to [a] 1fr [b a] 1fr [b]."
So, how can i use this middle part(line name), or connect to second column by line name? Because everytime i use 'a' line name it reffers to 1st line. When i try tu use 'b a' nothing happen.
So from my perspective equivalent for 'repeat(2, [a] 1fr [b])' is '[a] 1fr [b] 1fr '.
Is this a bug or i can't understand that part?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant