Answer the question
In order to leave comments, you need to log in
How to remove the border part, like on the layout?
I came across such a border in the layout and I don’t know how to make it
Answer the question
In order to leave comments, you need to log in
Pseudo-element version:
https://codepen.io/abnmt/pen/yKOzOM
Linear-gradient version:
https://codepen.io/abnmt/pen/KozXmW
Variant times
div{position:relative;border:2px solid black;border-bottom:none;}
div:after{}//левая сторона
div:before{}//правая сторона
div{position:relative;border:2px solid black;border-bottom:none;}
div:after{background:linear-gradient;}
Similar question with solution:
How to cut a border to paste text over it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question