Answer the question
In order to leave comments, you need to log in
Flex block collides with another block when compressed. What am I doing wrong?
I'm new! https://codepen.io/mlnoz/pen/WNQVeKw , when we make the page already, then one of the blocks runs into the lower one, how to make it not run over, but move it lower? And one more thing, so that when it gets lower, this block does not become wider, but is just in the center horizontally? Thanks in advance for your help!!!!
Answer the question
In order to leave comments, you need to log in
It's all about the margin-top you give to the "about_us_text" class. When the card moves out, this indent is not enough.
Your element positioning is wrong.
Look, you've given the "header_banner" class height: 750px; The block with the "about_us" class counts from it, and not from the card with the "service_item" class.
And one more thing, so that when it gets lower, this block does not become wider, but is just in the center horizontally?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question