4
I need the content that’s in <h1>
stay aligned below (bottom) in <div>
.
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<div class="row">
<div class="inline m-3">
<img src="https://via.placeholder.com/100" width="100px">
</div>
<div class="inline m-3">
<h1>Título</h1>
</div>
</div>
I am using Bootstrap 4.1 and followed the contents of documentation, but without success. I believe it should be simple, but I still don’t understand the concept behind it.
Tried to put class="align-bottom" inside H1 ?
– Bulfaitelo
Add the following attributes in your H1’s style: position: Absolute; bottom:0;
– Enzo Jorge
Yes. This solution is shown in the link I attached to my question
– Rafael Christófano
There are several ways to do, detail the question better. What you want is, only that the
div
who has theh1
stay under the firstdiv
?– Renan Gomes
No, I want H1 to be aligned next to the image and aligned down (bottom)
– Rafael Christófano
that lined up below would be at the footer?
– OtavioCapel