+ 2
How to display svg element in center of web page?
If I want some shape on web page at center like line, square, rectangle, triangles?
2 odpowiedzi
+ 6
Add
display: block
to it and then
margin: auto
will work as expected.
+ 4
CSS Pro Tips: Centering Elements by Domino
https://www.sololearn.com/post/37760/?ref=app