Bootstrap: css location support absolute and fixed

Created on 12 Jun 2020  路  3Comments  路  Source: twbs/bootstrap

Hello,

I see there is currently a class called "position-absolute" but there are no classes like: "top: 0", "left: 0", "right: 0" ... I think there should be support classes Support for "position-absolute" and "position-fixed"

For example:
.top-0
.top-25
.top-50

The same goes for bottom, left, and right

Thanks

css feature

Most helpful comment

Added in #31280

All 3 comments

I could see us adding those 0 values as classes (e.g., .top-0), but I don't see us adding any other values. Rest of the suggested ones here feel too random.

This looks something like TailwindCSS utility classes. Having support for common values like .top-auto would also be good along with that.

Added in #31280

Was this page helpful?
0 / 5 - 0 ratings

Related issues

knownasilya picture knownasilya  路  3Comments

athimannil picture athimannil  路  3Comments

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

devdelimited picture devdelimited  路  3Comments

ghost picture ghost  路  3Comments