Bootstrap: Add `justify-self` to flex utilities

Created on 27 Aug 2018  路  4Comments  路  Source: twbs/bootstrap

Could be useful to have a justify-self utility in the same way that align-self.

https://github.com/twbs/bootstrap/blob/e57a2f244ba8446fffe71847e6a58b18f7b2d541/scss/utilities/_flex.scss#L44-L49

Most helpful comment

Skipping on this then, thanks y'all!

All 4 comments

Hi @ocarreterom,
I don't know if this is really necessary, you can use the margin utility classes to achieve this.

@MartijnCuppens is right.

Plus it won麓t work on flexbox items:

In flexbox layouts, this property is ignored (more about alignment in Flexbox)

MDN Web Docs

But you can use the margin utility classes to position items horizontal.

Skipping on this then, thanks y'all!

Would be nice to have this in v5, considering the more common use of css-grid. But from what I saw, v5 doesn't do anything with css-grid, so it might not have any value for the framework.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

steve-32a picture steve-32a  路  3Comments

ghost picture ghost  路  3Comments

bellwood picture bellwood  路  3Comments

kamov picture kamov  路  3Comments

alvarotrigo picture alvarotrigo  路  3Comments