1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 08:10:47 +02:00

Add CSS Utility for auto width and height Properties (#24249)

Currently bootstrap only provides 4 variations of `width` and `height` css utilities, which are:

1. 25%
2. 50%
3. 75%
4. 100%.

Here, I'm adding `auto` to the list. This is useful when we need to reset the width/height value
back to the browser default value at some point.
This commit is contained in:
Taufek Johar
2018-01-22 04:28:22 +08:00
committed by Mark Otto
parent 8374f542be
commit 2b42ef0db2
2 changed files with 5 additions and 2 deletions

View File

@@ -132,7 +132,8 @@ $sizes: map-merge((
25: 25%,
50: 50%,
75: 75%,
100: 100%
100: 100%,
auto: auto
), $sizes);
// stylelint-enable