Helper Classes

/* -------------------------------------------
Helper
---------------------------------------------- */
// Width, Height, Position
.w-auto { width: auto !important; }
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.p-relative { position: relative !important; }
.p-absolute { position: absolute !important; }
.p-static { position: static !important; }
// Display
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.align-self-start { align-self: flex-start !important; }
.align-self-center { align-self: center !important; }
.align-self-end { align-self: flex-end !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-1 { flex: 1 !important; }
.flex-none { flex: none !important; }
.overflow-hidden { overflow: hidden !important; }
.vertical-top{ vertical-align: top !important; }
.vertical-middle{ vertical-align: middle !important; }
.vertical-bottom{ vertical-align: bottom !important; }
@media(min-width: 576px) {
.d-sm-none { display: none !important; }
.d-sm-block { display: block !important; }
.d-sm-flex { display: flex !important; }
}
@media(min-width: 768px) {
.d-md-none { display: none !important; }
.d-md-block { display: block !important; }
.d-md-flex { display: flex !important; }
}
@media(min-width: 992px) {
.d-lg-none { display: none !important; }
.d-lg-block { display: block !important; }
.d-lg-flex { display: flex !important; }
.col-lg-1-5 { max-width: 20%; flex-basis: 20%; }
.col-lg-2-5 { max-width: 40%; flex-basis: 40%; }
.col-lg-3-5 { max-width: 60%; flex-basis: 60%; }
.col-lg-4-5 { max-width: 80%; flex-basis: 80%; }
}
@media(min-width: 1200px) {
.d-xl-none { display: none !important; }
.d-xl-block { display: block !important; }
.d-xl-flex { display: flex !important; }
}
// Font Family
.font-primary { font-family: $font-family !important; }
// Font Weight
.font-weight-bold { font-weight: 700 !important; }
.font-weight-semi-bold { font-weight: 600 !important; }
.font-weight-normal { font-weight: 400 !important; }
// Text Transform
.text-uppercase { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }
.text-normal { text-transform: none !important; }
// Font Type
.font-italic { font-style: italic !important; }
.font-normal { font-stretch: normal !important; }
// Text Align
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
// Text Color
.text-white { color: #fff !important; }
.text-light { color: if($is_not_IE, var(--rio-light-color), $light-color) !important; }
.text-grey { color: $grey-color !important; }
.text-body { color: if($is_not_IE, var(--rio-body-color), $body-color) !important; }
.text-primary { color: if($is_not_IE, var(--rio-primary-color), $primary-color) !important; }
.text-secondary { color: if($is_not_IE, var(--rio-secondary-color), $secondary-color) !important; }
.text-success { color: if($is_not_IE, var(--rio-success-color), $success-color) !important; }
.text-alert { color: if($is_not_IE, var(--rio-alert-color), $alert-color) !important; }
.text-light { color: if($is_not_IE, var(--rio-light-color), $light-color) !important; }
.text-dark { color: if($is_not_IE, var(--rio-dark-color), $dark-color) !important; }
.text-black { color: #000 !important; }
// Letter Spacing
.ls-s { letter-spacing: -.01em !important; }
.ls-m { letter-spacing: -.025em !important; }
.ls-l { letter-spacing: -.05em !important; }
.ls-normal { letter-spacing: 0 !important; }
// Line Height
.lh-1 { line-height: 1 !important; }
// Background
.bg-white { background-color: #fff !important; }
.bg-dark { background-color: if($is_not_IE, var(--rio-dark-color), $dark-color) !important; }
.bg-grey { background-color: $grey-color !important; }
.bg-light { background-color: if($is_not_IE, var(--rio-light-color), $light-color) !important; }
.bg-black { background-color: #000 !important; }
.bg-primary { background-color: if($is_not_IE, var(--rio-primary-color), $primary-color) !important; }
.bg-secondary { background-color: if($is_not_IE, var(--rio-secondary-color), $secondary-color) !important;  }
// Border
.border-no { border: none !important; }
// Border Radius
.br-3 { border-radius: 3px; }
.br-10 { border-radius: 10px; }
.no-transition { transition: none !important; }
// Transforms
.t-none { transform: translate(0, 0) !important; }
.t-m { transform: translateY(-50%) !important; }
.t-c { transform: translateX(-50%) !important; }
.t-mc { transform: translate(-50%, -50%) !important; }

Demos