0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Change border class

The class ".border" (css/utilities/_borders.scss) is set the border-color to "$gray-200".
So I see that it would be nice to create a variable for the border color "$border-color". Because the default border should not always be "gray-200".
Another thing, there is a "$border-width" variable. Would not it be better to use this variable to set the default width of the border?
This commit is contained in:
envolute 2017-08-01 02:50:09 -03:00 committed by Mark Otto
parent 0c3ed5d3f0
commit eeb1ccab9b

View File

@ -2,7 +2,7 @@
// Border
//
.border { border: 1px solid $gray-200 !important; }
.border { border: $border-width solid $border-color !important; }
.border-0 { border: 0 !important; }
.border-top-0 { border-top: 0 !important; }
.border-right-0 { border-right: 0 !important; }