h2 as flex items

master
ugrnm 6 years ago
parent 6e08a8b1da
commit d1b76e83fe

@ -13,7 +13,13 @@ body {
} }
.box { .box {
min-height: 10em; display: flex;
flex: 1 1 auto;
flex-direction: column;
text-align: center;
align-items: center;
justify-content: center;
height: 12rem;
} }
h1 { h1 {

Loading…
Cancel
Save