Answer the question
In order to leave comments, you need to log in
Centered header on top of a horizontal line - how to make it responsive?
Good day!
There is a problem over which I am scratching my head. We need to make the centered header on top of the horizontal line responsive. Here is my code - codepen.io/owlblinked/pen/yYPKBd The catch is that as the screen size decreases, the lines get smaller and the entire square block visually falls apart. It is necessary that the lines keep visually square and, accordingly, decrease as much as necessary to fit completely in the block at all times. Thanks for your help, you help me a lot.
Answer the question
In order to leave comments, you need to log in
It is not clear why you are so rewarded. Make it easier. Use a border and there will be no problems. Here is an example - codepen.io/GoooodBoy/pen/zvPyJL
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question