Vertically centre content with flexbox
This commit is contained in:
parent
2ea159ae08
commit
a6323c672b
1 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,11 @@
|
||||||
html {
|
html {
|
||||||
background: #eee;
|
background: #eee;
|
||||||
font-family: "Gentium Plus", "Source Sans Pro", sans-serif;
|
font-family: "Gentium Plus", "Source Sans Pro", sans-serif;
|
||||||
|
min-height: 80%;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
max-width: 30em;
|
max-width: 30em;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue