Answer the question
In order to leave comments, you need to log in
How to make a header like this?
Desktop
Adaptive
Can you tell me how to layout this header? On desktop I made it in two parts via p, gave the second p text-align: right and added a delimiter via ::before. And in principle, I didn’t have any problems here (I think this is not the best option, but I did it as best I could). Now, when this heading needs to be made adaptive, then complexity appears.
I removed the text-align from the second p and just gave them different padding-lefts to achieve the result shown in the screenshot, but this padding often needs to be adjusted in the media so that it always stays something like the screenshot. Plus, the separator also constantly needs to adjust the position.
Sorry for my noobness, I hope you can help and explain how to type this more professionally.
Here is a link to the github with this title https://github.com/Fotoz/surface
ps add. question: "when you adapt the layout, is it enough to go through the main points of 1200px,. 992px, etc., or do you need everything to be perfect everywhere?"
Answer the question
In order to leave comments, you need to log in
On desktop I made it in two parts via p, gave the second p text-align: right and added a delimiter via ::before.
@media
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question