How to align element to bottom in a Bootstrap column?

Viewed 35858

I need to align a box to the left bottom of the bootstrap column. Thank you for help.

How I need it

The problem is that the column has no defined height.

7 Answers

in Bootstrap 4, you can use mt-auto on the column itself to align an item to the bottom. It should already be aligned to the left by default

So it was pretty cool:

.bottom{
    position:absolute;
    bottom: 0.99rem;
}

If you don't want to play with css you can just set:

class="mb-0"

It will set margin bottom to zero and should drop your content to the bottom of whatever cell it's in You can align it in other directions similar way: mb, mt, mr, ml

Related