mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +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:
parent
0c3ed5d3f0
commit
eeb1ccab9b
@ -2,7 +2,7 @@
|
|||||||
// Border
|
// Border
|
||||||
//
|
//
|
||||||
|
|
||||||
.border { border: 1px solid $gray-200 !important; }
|
.border { border: $border-width solid $border-color !important; }
|
||||||
.border-0 { border: 0 !important; }
|
.border-0 { border: 0 !important; }
|
||||||
.border-top-0 { border-top: 0 !important; }
|
.border-top-0 { border-top: 0 !important; }
|
||||||
.border-right-0 { border-right: 0 !important; }
|
.border-right-0 { border-right: 0 !important; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user