S
S
sunnyrio2018-06-17 20:31:44
css
sunnyrio, 2018-06-17 20:31:44

How can I make the blocks line up?

I set everything without a margin, I indicate the second or third element with a negative margin and everything breaks down?
5b269afce5822173756037.png

<div class="service-area service-blue text-center">
    <div class="container">
      <div class="row">
        <div class="col-md-4">
          <h1>Block1</h1>
        </div>
        <div class="col-md-4" style="margin-top: -50px">
          <h1>Block2</h1>
        </div>
        <div class="col-md-4" style="margin-top: -100px">
          <h1>Block3</h1>
        </div>
      </div>
    </div>
  </div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2018-06-17
@sunnyrio

repeated like you. nothing breaks https://jsfiddle.net/6su7nc1a/1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question