css: more vertical spacing (footer)
This commit is contained in:
@@ -25,7 +25,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<p>Lorem ipsum</p>
|
<!--<p>Lorem ipsum</p>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
<p>Footer</p>
|
||||||
</div>
|
</div>
|
||||||
12
main.css
12
main.css
@@ -39,7 +39,6 @@ h1, h2, h3, h4, h5, h6 {
|
|||||||
|
|
||||||
.block {
|
.block {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 200px;
|
|
||||||
/*background: #e5e7eb;
|
/*background: #e5e7eb;
|
||||||
border: 1px solid #ccc;*/
|
border: 1px solid #ccc;*/
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -83,4 +82,15 @@ h1, h2, h3, h4, h5, h6 {
|
|||||||
.block:nth-child(1) {
|
.block:nth-child(1) {
|
||||||
margin-top:
|
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