diff options
author | Santiago Soler <santiago.r.soler@gmail.com> | 2021-03-24 16:32:07 -0300 |
---|---|---|
committer | Santiago Soler <santiago.r.soler@gmail.com> | 2021-03-24 16:32:07 -0300 |
commit | ea3e98945aa66ce7e441ffacd6217102c43c685f (patch) | |
tree | ac39bacbe095d73bfed545e444c69fb359acb752 | |
parent | b8e840f5239f42276d2ba6ab63a331271d2b1065 (diff) | |
download | website-ea3e98945aa66ce7e441ffacd6217102c43c685f.tar.gz |
Use display flex in header
-rw-r--r-- | css/style.css | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/css/style.css b/css/style.css index a39940b..cf775c0 100644 --- a/css/style.css +++ b/css/style.css @@ -136,8 +136,12 @@ nav ul { /* ---------------- */ header { - margin-top: 110px; - margin-bottom: 180px; + height: 40vh; + min-height: 200px; + display: flex; + flex-direction: column; + align-content: center; + justify-content: center; } header h1, |