S
S
Sake282022-03-29 22:07:44
Layout
Sake28, 2022-03-29 22:07:44

How to make dashed line before and after text?

6243283051b2a995201956.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeniy Skorobogatov, 2022-03-29
@NetSky

One of the options attached here https://stackoverflow.com/questions/2812770/add-ce...

E
Elena Fire, 2022-04-11
@BormotunJedy

As one of the options:
background (see comment from Anton )
As the second option:
creating a nested block in the block with text and
div.text div.line
{position: absolute; bottom: -50% content: ''; width: 100% border-bottom: 1 px dashed grey; z-index: 200;}
block with text:
div.text {position: relative; padding-left: 20px padding-right: 20px; z-index: 100;}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question