Problem using CSS grid
See original GitHub issueHello all!
I’m just starting to work with this library and really excited about it! I’m testing it right now and I’m trying to make it work with a Grid CSS Layout. Unfortunately I’m having some trouble here. I uploaded my project at Code Sandbox: https://codesandbox.io/s/4tx93
If you open the screen outside of editor or resizes it, you gonna see what I’m talking about, the arrows seems to be coming from the center of column instead of the elements directly. Another problem that I see, is that the arrows are overlapping each element, going over the elements. If I add justify-self: center;
to the .col members, it works, but I don’t want it actually.
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
9 Biggest Mistakes with CSS Grid
In this video, I explain the 9 Biggest Mistakes people are making, with advice and tips for avoiding these pitfalls and breaking old...
Read more >html - CSS grid layout problems
Your syntax for the grid in .page-grid is wrong, and so no grid is even registering. /* formerly 1fr, repeat (2 1fr) should...
Read more >Modern CSS grid solutions to common layout problems
In CSS grids, row and column definitions are ignored when there are not enough elements. In the above example, when there are only...
Read more >CSS Grid Gotchas And Stumbling Blocks
A true grid is two-dimensional. The two dimensions are rows and columns, and with grid layout you can control both at once. With...
Read more >Solving Layout Problems With CSS Grid and Friends - YouTube
CSS Grid Layout launched into the majority of our browsers in 2017. As designers and developers have started to use Grid Rachel has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Haha my pleasure 😊 have a nice weekend!
@pierpo of course, what a dumb question from my side. Of course!! I need to change the start and end. Sorry and thanks for replying! But also thanks for explaining the idea with overlap, in case I really wish to use center. Thanks again for all and have a nice weekend! 😄