Re:Ten modern layouts in one line of CSS
by darepublic on Friday July 31, 2020 @10:32AM
(#24008904)
For the vertical/horizontal centering, this author uses display: grid on the parent and place-items: center. But there is an older way to do just the same, give parent a display of flex and put margin: auto on the child
[ Parent
| on HN ]
There are no comments on this comment yet.