skip to Main Content

Can I rewrite this?

I am trying to span my second grid item over two rows. I am able to achieve what I am looking for using the grid-row: span 2 syntax. However I would like to achieve the same result using the grid-row:…

VIEW QUESTION

What is the meaning of life?

I'm using CSS grid's place-content: center to vertically and horizontally center a div in a fixed container, like so: .outer { position: fixed; inset: 0; background: black; display: grid; place-content: center; } .inner { padding: 30px; background: white; width: 100%;…

VIEW QUESTION
Back To Top
Search