E
E
Evgenij_nechujveter2018-03-07 12:21:23
css
Evgenij_nechujveter, 2018-03-07 12:21:23

How to move an element down?

There is a site:
autolab.pro
It is necessary to align the blocks: I
5a9faeb1d6170722515375.png
used the pseudo-class code like this:

s5__block h4:nth-child(1){
  margin-bottom: 30px;
}

It doesn't work for some reason

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kreotech, 2018-03-07
@Evgenij_nechujveter

Add to CSS:
.s5__block h4 {
}
Then the title will be at least 63 pixels high. Includes two lines of text. The paragraphs below will all line up. If the title is 3 lines, then this block will move lower than the others.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question