vertically center an svg

Solutions on MaxInterview for vertically center an svg by the best coders in the world

showing results for - "vertically center an svg"
Forrest
18 Sep 2016
1.svg-wrapper {
2  display: flex;
3  align-items: center;
4  height: 100%;
5}
6
7.svg-wrapper > svg {
8  display: block;
9  margin: 0 auto;
10  text-align: center;
11}