Utilities
Please visit the official Bootstrap documentation for a full list of utilities. Additionally, the following utilities have been added:
Backgrounds Dashkit Only
-
.bg-fixed-bottomto fix the background image at the bottom of the.maincontainer at the feed.html page. -
.bg-coverto set thebackground-imagesize of an element tocover. -
.bg-vibrantto apply a background image with a vibrant gradient for the sidebar. -
.bg-lighterto set the backgroud color to the value of the$lighterSCSS variable.
<div class="bg-fixed-bottom" style="background-image: url(assets/img/illustrations/sticky.svg);">...</div> <div class="bg-cover" style="background-image: url(...);">...</div> <nav class="navbar navbar-vertical fixed-start navbar-expand-md navbar-dark bg-vibrant">...</div> <div class="bg-lighter">...</div>
Sizing Dashkit only
-
.vw-100to change the width of an element to100vw. -
.vh-100to change the height of an element to100vh.
<div class="vw-100 vh-100">...</div>
Borders Dashkit only
-
.border-2(3, 4, 5), .border-top-2(3, 4, 5), .border-end-2(3, 4, 5), .border-bottom-2(3, 4, 5), .border-start-2(3, 4, 5)to increase the width of a border.
<div class="border border-2 border-white">...</div>
Lift Dashkit only
-
.lift(-lg)to visually lift an element on hover and focus.
<a class="btn btn-white lift"> Hover to lift </a> <a class="btn btn-white lift lift-lg"> Hover to lift </a>
Type Dashkit only
-
.text-decoration-underlineto set the text decoration property to underline.
<a class="text-decoration-underline" href="#!">...</a>