Answer the question
In order to leave comments, you need to log in
How to crop so the border property?
car painting png
Answer the question
In order to leave comments, you need to log in
<style>
.banner-top, .banner-bottom{
border: 2px solid red;
border-radius: 30px;
}
.banner-top{
border-bottom: none;
}
.banner-bottom{
border-top: none;
}
.banner-center{
margin: 0 -30px;
}
</style>
<div class="banner">
<div class="banner-top">
CONTENT TOP
</div>
<div class="banner-center">
<img src="..." alt="">
</div>
<div class="banner-bottom">
CONTENT BOTTOM
</div>
</div>
IMHO - no way. as an option, divide the entire parent block into 3 parts: 1. top (text), middle (picture) and bottom. on the lower and upper parts - give borders
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question