File tree 3 files changed +13
-1
lines changed
site/content/docs/5.3/helpers
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -705,6 +705,10 @@ $hr-border-color: null !default; // Allows for inherited colors
705
705
$hr-border-width : var (--#{$prefix}border-width ) !default ;
706
706
$hr-opacity : .25 !default ;
707
707
708
+ // scss-docs-start vr-variables
709
+ $vr-border-width : var (--#{$prefix}border-width ) !default ;
710
+ // scss-docs-end vr-variables
711
+
708
712
$legend-margin-bottom : .5rem !default ;
709
713
$legend-font-size : 1.5rem !default ;
710
714
$legend-font-weight : null !default ;
Original file line number Diff line number Diff line change 1
1
.vr {
2
2
display : inline-block ;
3
3
align-self : stretch ;
4
- width : 1 px ;
4
+ width : $vr-border-width ;
5
5
min-height : 1em ;
6
6
background-color : currentcolor ;
7
7
opacity : $hr-opacity ;
Original file line number Diff line number Diff line change @@ -43,3 +43,11 @@ They can also be used in [stacks]({{< docsref "/helpers/stacks" >}}):
43
43
<div class =" p-2 " >Third item</div >
44
44
</div >
45
45
{{< /example >}}
46
+
47
+ ## CSS
48
+
49
+ ### Sass variables
50
+
51
+ Customize the vertical rule Sass variable to change its width.
52
+
53
+ {{< scss-docs name="vr-variables" file="scss/_ variables.scss" >}}
You can’t perform that action at this time.
0 commit comments