0
Comment faire cette forme par HTML & CSS rayon arrondi de la frontière intérieure?Comment faire un rayon de bordure intérieure?
Comment faire cette forme par HTML & CSS rayon arrondi de la frontière intérieure?Comment faire un rayon de bordure intérieure?
Essayez cette
HTML:
<div class="shape"></div>
CSS:
.shape{
background: #074b7e;
width: 300px;
height: 150px;
overflow: hidden;
position: relative;
}
.shape:before{
content: '';
width: 150px;
height: 150px;
background: #fff;
position: absolute;
top: 0;
right: -75px;
border-radius: 100%;
}
Exemple: https://jsfiddle.net/s2oew522/
merci beaucoup –
@MinaMedhat Veuillez marquer cette réponse comme accepter. –