Miscellaneous
More utilities here
Accessibility
sr
,sr--only
Hide an element or text from appearing on screen, but preserve its place in the markup for screen reader accessibility.
skip
An in-template class for styling the "Skip to main content" component.
Appearance
appearance--<value>
Class | Property & Value |
---|---|
appearance-none | appearance: none; |
Aspect Ratios
ar--<something>
Class | Property & Value |
---|---|
ar | position: relative &::after { content: ''; display: block; height: 0 } |
ar--<ratio> ,ar--<ratio>@{$breakpoint} | padding-top: $ar-value |
ar--object | position: absolute top: 0 left: 0 width: 100% height: 100% flex-shrink: 0 min-width: 100% min-height: 100% z-index: 100 |
Box Shadow
bs--<value>
Class | Property & Value |
---|---|
bs | box-shadow: $box-shadow |
bs--md | box-shadow: $box-shadow-md |
bs--lg | box-shadow: $box-shadow-lg |
bs--inset | box-shadow: $box-shadow-inset |
bs--none | box-shadow: none |
Clears
Class | Property & Value |
---|---|
cf ,clearfix | @extend %clearfix |
clear | clear: both |
Opacity
o--<value>
Class | Property & Value |
---|---|
o--100 | opacity: 1 |
o--90 | opacity: 0.9 |
o--80 | opacity: 0.8 |
o--70 | opacity: 0.7 |
o--60 | opacity: 0.6 |
o--50 | opacity: 0.5 |
o--40 | opacity: 0.4 |
o--30 | opacity: 0.3 |
o--20 | opacity: 0.2 |
o--10 | opacity: 0.1 |
o--05 | opacity: 0.05 |
o--025 | opacity: 0.025 |
o--0 | opacity: 0 |
Rotations
rotate--<value>
Class | Property & Value |
---|---|
rotate--45 | transform: rotate(45deg); |
rotate--90 | transform: rotate(90deg); |
rotate--135 | transform: rotate(135deg); |
rotate--180 | transform: rotate(180deg); |
rotate--225 | transform: rotate(225deg); |
rotate--270 | transform: rotate(270deg); |
rotate--315 | transform: rotate(315deg); |
SVG
svg--<value>
Class | Property & Value |
---|---|
svg--fill | fill: currentColor; |
svg--stroke | stroke: currentColor; |