How do I make a line between word in css?

Asked

Viewed 34 times

1

Hello, I noticed on a site the following style in CSS

inserir a descrição da imagem aqui

Between the phrase SALES HIGHLIGHT there are two lines, one on the right and the other on the left, and they adjust according to the size of the screen.

My CSS is:

div.tipo-imovel{
    width: 100%;
    max-width: 1550px;
    height: 60px;
    font-size: 20px;
    margin-top: 35px;
    text-transform: uppercase;
    line-height: 60px;
    padding-left: 20px;
    box-sizing: border-box;
    color: #333;
    text-align: center;
}

I just have no idea how to implement.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.