R
R
Rufix2019-09-19 21:04:32
css
Rufix, 2019-09-19 21:04:32

How to layout such blocks on bootstrap?

wTClW8X.png
Tell me how competently typeset such blocks with bootstrap?
I settled on this option, but since I have no experience in bootstrap, I decided to ask anyway, so as not to shit code in the future

<div class="row">
      <div class="col-12">
        <h1>We are awesome creative agence</h1>
      </div>
      <div class="col-12">
        <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quo, magni!</p>
      </div>
    </div>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
iBird Rose, 2019-09-19
@Rufix

Why do you need bootstrap columns here at all?

A
Alexander Marginal, 2019-09-21
@AlexanderMarginal

It's best to write like this

<div class="container-fluid">
    <h1>We are awesome creative agence</h1>
    <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quo, magni!</p>
</div>

Because the grid is not needed here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question