C
C
Chelentano5552021-07-13 10:12:44
css
Chelentano555, 2021-07-13 10:12:44

Section addictive?

How to make the bottom block stick close to the overlying one. The landing site created one section after it the second and there was a distance between them. How to make them snuggle up?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
approximate solution, 2021-07-13
@approximate_solution

Would like to see the code.
Algorithm:
1. Check if the section has indents that move the sections ( padding, margin)
2. If not, check if there is a statically set section height
3. If not, stretch the blocks with flexes, by analogy -
https://medium.com/webbdev/ css-ad460c35ec1b

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question