Dimi3je Posted February 11, 2019 Share Posted February 11, 2019 Hello, I don't undesrtand grid-gap syntax(with two values) on w3schools. From example on w3schools, grid-gap(50px 100px), it says that first value represents grid-column-gap and the second grid-row-gap? When I run result in a browser, row-gap is 50px and column-gap is 100px? Shouldn't be otherwise? Link to comment Share on other sites More sharing options...
justsomeguy Posted February 11, 2019 Share Posted February 11, 2019 Yeah, it looks like it. This property is specified as a value for <'row-gap'> followed optionally by a value for <'column-gap'>. If <'column-gap'> is omitted, it’s set to the same value as <'row-gap'>. Link to comment Share on other sites More sharing options...
Dimi3je Posted February 11, 2019 Author Share Posted February 11, 2019 Sorry, what? Link to comment Share on other sites More sharing options...
justsomeguy Posted February 12, 2019 Share Posted February 12, 2019 That's from the MDN documentation. https://developer.mozilla.org/en-US/docs/Web/CSS/gap Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now