essai coins
Essai nouveau composeur avec un seul code. Html/Css
<!--Mettre une image avec une DIV-->
<div class="box"><p class="boxBtm">
<img src="https://static.blog4ever.com/2010/11/451105/img0308-1_8618988.jpg"></p>
</div> <!---image bateau-->
__________________
<!---Code Css pour les coins inversés--->
<style type= "text/css">
.box {
background: #ccc;
height: 389px;
width: 518px;
margin: 25px 0 0 30px;
padding: 20px;
border:3px solid blue;
border-radius: 20px;
position: relative;
overflow: hidden;
}
.box :before {
content: "";
display: block;
background: #ccc;
position: absolute;
top: -9px;
left: -9px;
width: 60px;
height: 60px;
border-radius: 20px;
}
.box :after{
content: "";
display: block;
background: #ccc;
position: absolute;
top: -9px;
right: -9px;
width: 60px;
height:60px;
border-radius: 20px;
}
.box p {
color: #fafafa;
}
.box:before {
content: "";
display: block;
background: #ccc;
position: absolute;
bottom: -9px;
left: -9px;
width: 60px;
height: 60px;
border-radius: 20px;
}
.box:after{
content: "";
display: block;
background: #ccc;
position: absolute;
bottom: -9px;
right: -9px;
width: 60px;
height: 60px;
border-radius: 20px;
}
</style>
Inscrivez-vous au blog
Soyez prévenu par email des prochaines mises à jour
Rejoignez les 16 autres membres