How to use css to do here is underline?

5c9e17aee4e9e174499488.png
March 19th 20 at 09:11
5 answers
March 19th 20 at 09:13
Solution
Wow, left is better to use margin 0 auto - Glady commented on March 19th 20 at 09:16
March 19th 20 at 09:15
Options:
1. Add inside the main tag, two tags and ask them styles.
2. Add one tag inside the main tag and ask him styles :before and :after
3. Ask styles :before and :after main tag
4. To add a background image (svg)
March 19th 20 at 09:17
March 19th 20 at 09:19
Well, or banal approach on the forehead:

1. Div'and two different widths (width) under this heading, whose border-top: solid 2px #0000ff;

2. Two elements of hr, again with a modified width and positioning
March 19th 20 at 09:21
using :before and :after

Find more questions by tags HTMLCSS