css: more vertical spacing (footer)
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="body">
|
||||
<p>Lorem ipsum</p>
|
||||
<!--<p>Lorem ipsum</p>-->
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>Footer</p>
|
||||
</div>
|
||||
12
main.css
12
main.css
@@ -39,7 +39,6 @@ h1, h2, h3, h4, h5, h6 {
|
||||
|
||||
.block {
|
||||
flex: 1;
|
||||
height: 200px;
|
||||
/*background: #e5e7eb;
|
||||
border: 1px solid #ccc;*/
|
||||
display: flex;
|
||||
@@ -84,3 +83,14 @@ h1, h2, h3, h4, h5, h6 {
|
||||
margin-top:
|
||||
}
|
||||
}
|
||||
|
||||
div.body, div.footer {
|
||||
margin-left: 7.14vw;
|
||||
margin-right: 7.14vw;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
margin-top: 3.57vw;
|
||||
margin-bottom: 7.14vw;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user