V
V
Vitya Podpriklopolny2018-02-19 09:30:31
css
Vitya Podpriklopolny, 2018-02-19 09:30:31

How can this be done with just After?

5a8a6e9a6aa71610264772.png
I thought about making a block and giving it a lower and upper border. Is there a property to change the length of the border-bottom for example? Or does it need to be done on Before and After for the header?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton, 2018-02-19
@megamage

Yes, just make a div and inside there are two spans of different widths

A
Anton, 2018-02-19
@ziqq

Do it with pseudo-elements and don't worry.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question