[enh] separate between sections

This commit is contained in:
Laurent Peuch 2015-12-04 22:53:49 +01:00
parent 8007120805
commit 93267d6fbd
2 changed files with 7 additions and 8 deletions

View File

@ -9,18 +9,20 @@ body {
width: 100%;
}
section {
margin-bottom: 4em;
}
.full-picture {
position: relative;
height: 100%;
width: 100%;
min-height: 250px;
}
.bordered-picture {
.bordered-picture img {
height: 80%;
width: 80%;
margin-left: 10%;
margin-right: 10%;
margin-top: 3em;
margin-bottom: 5em;
}

View File

@ -13,14 +13,11 @@
<section class="full-picture" style="background: transparent url('./1.png') no-repeat scroll center top / cover;">
</section>
<p>pouet</p>
<section class="full-picture" style="background: transparent url('./1.png') no-repeat scroll center top / cover;">
</section>
<p>pouet</p>
<img class="bordered-picture" src="./1.png">
<section class="bordered-picture">
<img src="./1.png">
</section>
</body>