Open Brixy opened 6 years ago
Dear Rachel,
I am trying to style a single row grid parent with overflow-x—just like the the developer area on the GitHub homepage.
overflow-x
This does not work
.developers { display: grid; grid-gap: 30px; grid-template-columns: repeat(auto-fit, 200px); /* this line can be dropped */ grid-auto-flow: column; overflow-x: auto; }
unless you add
.developers > * { min-width: 200px; }
Is this the intended behaviour?
I also tried grid-template-columns: repeat(auto-fit, minmax(200px, auto)) etc.
grid-template-columns: repeat(auto-fit, minmax(200px, auto))
Thank you very much! I really appreciate all your effort concerning the brilliant grid technique.
Dear Rachel,
I am trying to style a single row grid parent with
overflow-x
—just like the the developer area on the GitHub homepage.This does not work
unless you add
Is this the intended behaviour?
I also tried
grid-template-columns: repeat(auto-fit, minmax(200px, auto))
etc.Thank you very much! I really appreciate all your effort concerning the brilliant grid technique.