I would like to have the span below the main text, so I could use:
h1 span{
display: block;
}
But how do I avoid that the span (block) element extends the width of the main h1 text? Since I use before and after pseudeo classes for the span tag with a line before and a line after the span tag
As you can see do I have the text centered on the parent (card-body). The card title is centered, but the span with display table isn’t. Or is the approach completely wrong?