A
A
Alena Mikhailova2018-03-14 23:36:29
css
Alena Mikhailova, 2018-03-14 23:36:29

How to remove the border part, like on the layout?

5aa98987df9d6386768407.pngI 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

4 answer(s)
S
Sanches, 2018-03-15
@AlenaMihailova

Pseudo-element version:
https://codepen.io/abnmt/pen/yKOzOM
Linear-gradient version:
https://codepen.io/abnmt/pen/KozXmW

O
Oleg, 2018-03-15
@politon

Variant times

div{position:relative;border:2px solid black;border-bottom:none;}
div:after{}//левая сторона
div:before{}//правая сторона

Option 2
div{position:relative;border:2px solid black;border-bottom:none;}
div:after{background:linear-gradient;}

D
Dymok, 2018-03-15
@UnluckySerivelha

Similar question with solution:
How to cut a border to paste text over it?

A
Artem Buyanoff, 2018-03-15
@buyanoff01

won't the legend tag be enough?
htmlbook.ru/html/legend

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question