1.0.9 • Published 6 months ago

dash-scss v1.0.9

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

Dash.scss

Overview

Dash is a simple, lightweight (33 KB gzipped), and highly configurable CSS framework designed to streamline web development. It can be utilized as both a CSS framework and an SCSS framework. This file provides an overview of the available utility classes, organized by their functionality.

Using Dash as a CSS Framework

To get started, simply copy the dist/css/dash.min.css file into your project and begin your development journey! You can customize the framework by editing the src/config.scss file. For example, you can modify the $-prefix variable from - to _, change color names, and more.

Here is the structure for the initial config.scss file:

@use "sass:map";

//   Dash
//   A simple, lite-weight and powerful CSS framework

// ------ Prefix ------
$-prefix: "-" !default;

// ------ Color variables ------
$-blue: #1681df !default;
$-aqua: #50cdff !default;
$-cyan: #28e9e9 !default;
$-teal: #18af98 !default;
$-green: #2abb3b !default;
$-lime: #44df07 !default;
$-olive: #b5d115 !default;
$-yellow: #ffe851 !default;
$-orange: #fd9c46 !default;
$-brown: #da421d !default;
$-red: #ff4d4d !default;
$-pink: #fc598f !default;
$-fuchsia: #e61db7 !default;
$-purple: #b10dc9 !default;
$-maroon: #85144b !default;
$-black: #222 !default;
$-gray: #888 !default;
$-white: #ddd !default;

// ------ Brightness factors ------
$-brightness-factor-1: 10 !default;
$-brightness-factor-2: 20 !default;

// ------ Gradient colors ------
$-gradient-colors: (
  "aqua": $-aqua,
  "lime": $-lime,
  "yellow": $-yellow,
  "orange": $-orange,
  "pink": $-pink,
) !default;

// ------ Colors ------
// The `$-colors-map` variable will fill based on `$-colors` variable.
$-colors: (
  "blue": $-blue,
  "aqua": $-aqua,
  "cyan": $-cyan,
  "teal": $-teal,
  "green": $-green,
  "lime": $-lime,
  "olive": $-olive,
  "yellow": $-yellow,
  "orange": $-orange,
  "brown": $-brown,
  "red": $-red,
  "pink": $-pink,
  "fuchsia": $-fuchsia,
  "purple": $-purple,
  "maroon": $-maroon,
  "black": $-black,
  "gray": $-gray,
  "white": $-white,
) !default;

// Color Naming Example
//
// $-colors: (
//   "default": $-white,
//   "primary": $-blue,
//   "secondary": $-pink,
//   "secondary2": $-fuchsia,
//   "secondary3": $-purple,
//   "accent": $-olive,
//   "accent2": $-teal,
//   "success": $-green,
//   "success2": $-lime,
//   "info": $-aqua,
//   "info2": $-cyan,
//   "warning": $-orange,
//   "warning2": $-yellow,
//   "error": $-red,
//   "error2": $-brown,
//   "error3": $-maroon,
//   "neutral": $-gray,
//   "neutral2": $-black,
// ) !default;

// ------ Flexbox variables -----
$-grid-columns-count: 12 !default;
$-flex-scales: (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) !default;
$-orders: (
  0: 0,
  1-front: 1,
  2-front: 2,
  3-front: 3,
  4-front: 4,
  5-front: 5,
  6-front: 6,
  7-front: 7,
  8-front: 8,
  9-front: 9,
  10-front: 10,
  11-front: 11,
  12-front: 12,
  1-back: -1,
  2-back: -2,
  3-back: -3,
  4-back: -4,
  5-back: -5,
  6-back: -6,
  7-back: -7,
  8-back: -8,
  9-back: -9,
  10-back: -10,
  11-back: -11,
  12-back: -12,
) !default;

// ------ Other variables ------
$-z-indices: (
  0: 0,
  1-front: 10,
  2-front: 200,
  3-front: 3000,
  4-front: 40000,
  5-front: 500000,
  1-back: -10,
  2-back: -200,
  3-back: -3000,
  4-back: -40000,
  5-back: -500000,
) !default;
$-font-sizes: (
  0: 0,
  1: 0.5625rem,
  // 9px
  2: 0.6875rem,
  // 11px
  3: 0.875rem,
  // 14px
  4: 1rem,
  // 16px
  5: 1.5rem,
  // 24px
  6: 2rem,
  // 32px
  7: 3rem,
  // 48px
  8: 4rem,
  // 64px
  9: 5.625rem,
  // 90px
  10: 8rem,
  // 128px
) !default;
$-font-heights: (
  0: 0,
  1: 0.6875rem,
  // 11px
  2: 0.875rem,
  // 14px
  3: 1rem,
  // 16px
  4: 1.3125rem,
  // 21px
  5: 1.875rem,
  // 30px
  6: 2.375rem,
  // 38px
  7: 3.4375rem,
  // 55px
  8: 4.5rem,
  // 72px
  9: 6.25rem,
  // 100px
  10: 8.75rem,
  // 140px
) !default;
$-small-sizes: (
  0: 0,
  1: 0.0625rem,
  // 1px
  2: 0.125rem,
  // 2px
  3: 0.1875rem,
  // 3px
  4: 0.3125rem,
  // 5px
  5: 0.4375rem,
  // 7px
  6: 0.625rem,
  // 10px
  7: 0.9375rem,
  // 15px
  8: 1.25rem,
  // 20px
  9: 1.5625rem,
  // 25px
  10: 2.1875rem,
  // 35px
) !default;
$-small-sizes2: (
  auto: auto,
  0: 0,
  1: 0.0625rem,
  // 1px
  2: 0.125rem,
  // 2px
  3: 0.1875rem,
  // 3px
  4: 0.3125rem,
  // 5px
  5: 0.4375rem,
  // 7px
  6: 0.625rem,
  // 10px
  7: 0.9375rem,
  // 15px
  8: 1.25rem,
  // 20px
  9: 1.5625rem,
  // 25px
  10: 2.1875rem,
  // 35px
) !default;
$-sizes: (
  0: 0,
  1px: 0.0625rem,
  // 1px
  1: 0.0625rem,
  // 1px
  2px: 0.125rem,
  // 2px
  3px: 0.1875rem,
  // 3px
  2: 0.1875rem,
  // 3px
  5px: 0.3125rem,
  // 5px
  3: 0.1875rem,
  // 5px
  7px: 0.4375rem,
  // 7px
  10px: 0.625rem,
  // 10px
  4: 0.625rem,
  // 10px
  15px: 0.9375rem,
  // 15px
  20px: 1.25rem,
  // 20px
  25px: 1.5625rem,
  // 25px
  5: 1.5625rem,
  // 25px
  30px: 1.875rem,
  // 30px
  35px: 2.1875rem,
  // 35px
  40px: 2.5rem,
  // 40px
  45px: 2.8125rem,
  // 45px
  50px: 3.125rem,
  // 50px
  6: 3.125rem,
  // 50px
  60px: 3.75rem,
  // 60px
  70px: 4.375rem,
  // 70px
  80px: 5rem,
  // 80px
  90px: 5.625rem,
  // 90px
  100px: 6.25rem,
  // 100px
  7: 6.25rem,
  // 100px
  120px: 7.5rem,
  // 120px
  140px: 8.75rem,
  // 140px
  160px: 10rem,
  // 160px
  180px: 11.25rem,
  // 180px
  200px: 12.5rem,
  // 200px
  8: 12.5rem,
  // 200px
  250px: 15.625rem,
  // 250px
  300px: 18.75rem,
  // 300px
  9: 18.75rem,
  // 300px
  350px: 21.875rem,
  // 350px
  400px: 25rem,
  // 400px
  10: 25rem,
  // 400px
  450px: 28.125rem,
  // 450px
  500px: 31.25rem,
  // 500px
  xs: 36rem,
  // 576px
  sm: 48rem,
  // 768px
  md: 62rem,
  // 992px
  lg: 75rem,
  // 1200px
  xl: 87.5rem,
  // 1400px
  xxl: 100rem,
  // 1600px
) !default;
$-opacity-levels: (
  transparent: 0,
  5pc: 0.05,
  10pc: 0.1,
  15pc: 0.15,
  25pc: 0.25,
  35pc: 0.35,
  50pc: 0.5,
  65pc: 0.65,
  75pc: 0.75,
  85pc: 0.85,
  90pc: 0.9,
  95pc: 0.95,
  full: 1,
) !default;
$-rotate-degrees: (
  0: rotate(0deg),
  30deg: rotate(30deg),
  45deg: rotate(45deg),
  60deg: rotate(60deg),
  90deg: rotate(90deg),
  120deg: rotate(120deg),
  135deg: rotate(135deg),
  150deg: rotate(150deg),
  180deg: rotate(180deg),
  ccw-30deg: rotate(-30deg),
  ccw-45deg: rotate(-45deg),
  ccw-60deg: rotate(-60deg),
  ccw-90deg: rotate(-90deg),
  ccw-120deg: rotate(-120deg),
  ccw-135deg: rotate(-135deg),
  ccw-150deg: rotate(-150deg),
  ccw-180deg: rotate(-180deg),
) !default;
$-anim-underline-height: 5 !default;
$-anim-underline-color: $-blue !default;
$-anim-underline-time: 0.2 !default;
$-anim-spin-times: (
  1: "spin 0.3 infinite linear",
  2: "spin 0.5 infinite linear",
  3: "spin 0.7 infinite linear",
  4: "spin 1.2 infinite linear",
  5: "spin 1.8 infinite linear",
  6: "spin 2.5 infinite linear",
  7: "spin 4 infinite linear",
  8: "spin 8 infinite linear",
  9: "spin 16 infinite linear",
  10: "spin 32 infinite linear",
) !default;
$-times: (
  1: 0.3s,
  2: 0.5s,
  3: 0.7s,
  4: 1.2s,
  5: 1.8s,
  6: 2.5s,
  7: 4s,
  8: 8s,
  9: 16s,
  10: 32s,
) !default;
$-times2: (
  1: 0.3s,
  2: 0.5s,
  3: 0.7s,
  4: 1.2s,
  5: 1.8s,
  6: 2.5s,
  7: 4s,
  8: 8s,
  9: 16s,
  10: 32s,
) !default;
$-shadows: (
  1: 0 0 0.0625rem 0 rgba(0, 0, 0, 0.2),
  // 0 0 1px 0
  2: 0px 0px 0.125rem 0.0625rem rgba(0, 0, 0, 0.2),
  // 0 0 2px 1px
  3: 0px 0px 0.1875rem 0.125rem rgba(0, 0, 0, 0.2),
  // 0 0 3px 2px
  4: 0px 0px 0.25rem 0.1875rem rgba(0, 0, 0, 0.2),
  // 0 0 4px 3px
  5: 0px 0px 0.3125rem 0.25rem rgba(0, 0, 0, 0.2),
  // 0 0 5px 4px
  6: 0px 0px 0.375rem 0.3125rem rgba(0, 0, 0, 0.2),
  // 0 0 6px 5px
) !default;

$-shadows-rt: (
  1: 0.0625rem -0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.2),
  // 1px -1px 1px 0
  2: 0.0625rem -0.0625rem 0.125rem 0.0625rem rgba(0, 0, 0, 0.2),
  // 1px -1px 2px 1px
  3: 0.0625rem -0.0625rem 0.1875rem 0.125rem rgba(0, 0, 0, 0.2),
  // 1px -1px 3px 2px
  4: 0.0625rem -0.0625rem 0.25rem 0.1875rem rgba(0, 0, 0, 0.2),
  // 1px -1px 4px 3px
  5: 0.0625rem -0.0625rem 0.3125rem 0.25rem rgba(0, 0, 0, 0.2),
  // 1px -1px 5px 4px
  6: 0.0625rem -0.0625rem 0.375rem 0.3125rem rgba(0, 0, 0, 0.2),
  // 1px -1px 6px 5px
) !default;

$-shadows-lt: (
  1: -0.0625rem -0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.2),
  // -1px -1px 1px 0
  2: -0.0625rem -0.0625rem 0.125rem 0.0625rem rgba(0, 0, 0, 0.2),
  // -1px -1px 2px 1px
  3: -0.0625rem -0.0625rem 0.1875rem 0.125rem rgba(0, 0, 0, 0.2),
  // -1px -1px 3px 2px
  4: -0.0625rem -0.0625rem 0.25rem 0.1875rem rgba(0, 0, 0, 0.2),
  // -1px -1px 4px 3px
  5: -0.0625rem -0.0625rem 0.3125rem 0.25rem rgba(0, 0, 0, 0.2),
  // -1px -1px 5px 4px
  6: -0.0625rem -0.0625rem 0.375rem 0.3125rem rgba(0, 0, 0, 0.2),
  // -1px -1px 6px 5px
) !default;

$-shadows-rb: (
  1: 0.0625rem 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.2),
  // 1px 1px 1px 0
  2: 0.0625rem 0.0625rem 0.125rem 0.0625rem rgba(0, 0, 0, 0.2),
  // 1px 1px 2px 1px
  3: 0.0625rem 0.0625rem 0.1875rem 0.125rem rgba(0, 0, 0, 0.2),
  // 1px 1px 3px 2px
  4: 0.0625rem 0.0625rem 0.25rem 0.1875rem rgba(0, 0, 0, 0.2),
  // 1px 1px 4px 3px
  5: 0.0625rem 0.0625rem 0.3125rem 0.25rem rgba(0, 0, 0, 0.2),
  // 1px 1px 5px 4px
  6: 0.0625rem 0.0625rem 0.375rem 0.3125rem rgba(0, 0, 0, 0.2),
  // 1px 1px 6px 5px
) !default;

$-shadows-lb: (
  1: -0.0625rem 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.2),
  // 1px 1px 1px 0
  2: -0.0625rem 0.0625rem 0.125rem 0.0625rem rgba(0, 0, 0, 0.2),
  // 1px 1px 2px 1px
  3: -0.0625rem 0.0625rem 0.1875rem 0.125rem rgba(0, 0, 0, 0.2),
  // 1px 1px 3px 2px
  4: -0.0625rem 0.0625rem 0.25rem 0.1875rem rgba(0, 0, 0, 0.2),
  // 1px 1px 4px 3px
  5: -0.0625rem 0.0625rem 0.3125rem 0.25rem rgba(0, 0, 0, 0.2),
  // 1px 1px 5px 4px
  6: -0.0625rem 0.0625rem 0.375rem 0.3125rem rgba(0, 0, 0, 0.2),
  // 1px 1px 6px 5px
) !default;
$-text-shadows: (
  1: 0 0.0625rem 0.0625rem rgba(0, 0, 0, 0.2),
  // 0 1px 1px
  2: 0 0.125rem 0.0625rem rgba(0, 0, 0, 0.2),
  // 0 2px 1px
  3: 0 0.1875rem 0.125rem rgba(0, 0, 0, 0.2),
  // 0 3px 2px
  4: 0 0.25rem 0.125rem rgba(0, 0, 0, 0.2),
  // 0 4px 2px
  5: 0 0.3125rem 0.1875rem rgba(0, 0, 0, 0.2),
  // 0 5px 3px
  6: 0 0.375rem 0.25rem rgba(0, 0, 0, 0.2),
  // 0 6px 4px
) !default;
$-scales: (
  1: scale(1.1),
  2: scale(2.2),
  3: scale(1.3),
  4: scale(1.5),
  5: scale(1.7),
) !default;
$-float-heights: (
  1: translateY(-0.125rem),
  // -2px
  2: translateY(-0.1875rem),
  // -3px
  3: translateY(-0.3125rem),
  // -5px
  4: translateY(-0.4375rem),
  // -7px
  5: translateY(-0.625rem),
  // -10px
) !default;
$-skew-degrees: (
  1: skew(5deg),
  2: skew(10deg),
  3: skew(20deg),
  4: skew(35deg),
  5: skew(45deg),
) !default;
$-skew-degrees-ccw: (
  1: skew(-5deg),
  2: skew(-10deg),
  3: skew(-20deg),
  4: skew(-35deg),
  5: skew(-45deg),
) !default;

To apply your changes, run the following command:

npm start

Please note that this command will not modify the development file located at dist/css/Dash; instead, it will generate a new version of dist/css/dash.min.css and dist/css/dash.min.css.map based on your custom configurations.

CDN Source

You can easily use Dash by including it directly in your HTML file without any customization:

<link
  href="https://unpkg.com/dash-scss@latest/dist/css/dash.min.css"
  rel="stylesheet"
/>

Using Dash as an SCSS Framework

Begin by installing the framework:

npm install dash-scss

To customize the default values, start by creating a configuration file. Copy the config.scss file from the repository into your project, modify the variable values as needed, and ensure remove the !default flag from the end of their definitions. After that, import both your modified config.scss and the index.scss from the repository into your main SCSS file.

Utility Classes

The information in this file may have limited documentation. Please refer to the code itself for more details.

Responsive design

Description: Some utility classes can be prefixed with a screen size indicator.

Prefixes: -sm, -md, -lg, -xl, -xxl

Without prefix: X-Small devices (portrait phones, Applies to all screen sizes)

-sm: Small devices (landscape phones, 576px and up)

-md: Medium devices (tablets, 768px and up)

-lg: Large devices (desktops, 992px and up)

-xl: X-Large devices (large desktops, 1200px and up)

-xxl: XX-Large devices (larger desktops, 1400px and up)

Unstyled Elements

Description: Removes default styles from elements, making them appear as normal text.

Class: -unstyled

.-unstyled,
.-unstyled * {
  text-decoration: none;
  font-weight: normal;
  color: black;
  cursor: default;
  background: transparent;
  box-sizing: border-box;
  box-shadow: none;
  text-shadow: none;
  border: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background-clip: border-box;
  scroll-behavior: smooth;
}

Link

Classes: -link, -link-hover, -link-focus

.-link,
.-link-hover:hover,
.-link-focus:focus {
  text-decoration: none;
  cursor: pointer;
  color: #fc598f;
  font-weight: bold;
  display: block;
}

Text Formatting

Bold Text: -t-bold, -t-bold-hover, -t-bold-focus

.-t-bold,
.-t-bold-hover:hover,
.-t-bold-focus:focus {
  font-weight: bold;
}

Italic Text: -t-italic, -t-italic-hover, -t-italic-focus

.-t-italic,
.-t-italic-hover:hover,
.-t-italic-focus:focus {
  font-style: italic;
}

Text Decorations: -t-underline, -t-overline, -t-overline-hover, -t-line-through-focus

.-t-underline,
.-t-underline-hover:hover,
.-t-underline-focus:focus {
  text-decoration: underline;
}

Text Transformations

Classes: -t-lowercase, -t-uppercase, -t-capitalize

.-t-lowercase,
.-t-lowercase-hover:hover,
.-t-lowercase-focus:focus {
  text-transform: lowercase;
}

Direction

Classes: -ltr (Left to Right), -rtl (Right to Left)

.-ltr {
  direction: ltr;
}
.-rtl {
  direction: rtl;
}

Clear

Clear Classes: -clear, -clear-right, -clear-left, -clear-none, -clearfix

.-clearfix:before {
  content: "";
  display: table;
}
.-clearfix:after {
  clear: both;
  content: ".";
  display: block;
  font-size: 0;
  height: 0;
  visibility: hidden;
}
.-clearfix {
  zoom: 1;
  clear: both;
  width: 100%;
  min-height: 0.01px;
}

Box Sizing

Classes: -box-content, -box-border

.-box-content,
.-box-content * {
  box-sizing: content-box;
}
.-box-border,
.-box-border * {
  box-sizing: border-box;
}

Object Fit

Classes: -fit-cover, -fit-fill, -fit-none, -fit-scale-down

.-fit-cover {
  object-fit: cover;
}

Aspect Ratios

Classes: -aspect-ratio, -aspect-video, -aspect-square,

-aspect-2-1, -aspect-3-2, -aspect-4-3, -aspect-34-21,

-aspect-1-2, -aspect-2-3, -aspect-3-4, -aspect-21-34

.-aspect-ratio {
  aspect-ratio: auto;
}
.-aspect-video {
  aspect-ratio: 16/9;
}
.-aspect-square {
  aspect-ratio: 1/1;
}
.-aspect-2-1 {
  aspect-ratio: 2/1;
}

Positioning

Classes: -pos-absolute, -pos-relative, -pos-static, -pos-fixed, -pos-sticky,

-pos-l, -pos-r, -pos-t, -pos-b, -pos-lt, -pos-rt, -pos-lb, -pos-rb,

-pos-0, -pos-center,

-pos-10, -pos-20, ..., -pos-100

.-pos-absolute {
  position: absolute;
}
.-pos-l {
  object-position: left;
}
.-pos-rt {
  object-position: right top;
}
.-pos-0 {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.-pos-center {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}
.-pos-10 {
  left: 10%;
  -webkit-transform: translate(-90%, 0);
  transform: translate(-90%, 0);
}

Display Properties

Classes: -d-inline, -d-inline-block, -d-list-item, -d-grid,

-sm-d-flex, -md-d-blank, -lg-d-hidden, -lx-d-collapse

.-d-inline {
  display: inline;
}
/* Ghost element */
.-d-blank,
.-d-blank-hover:hover,
.-d-blank-focus:focus {
  visibility: hidden;
}
/* Hidden element. */
/* For Example, hides a row of a table without resizing its columns. */
.-d-collapse,
.-d-collapse-hover:hover,
.-d-collapse-focus:focus {
  visibility: collapse;
}

Cursor Styles

Classes: -cursor-default, -cursor-pointer, -cursor-auto, -cursor-none,

-cursor-help, -cursor-progress, -cursor-wait, -cursor-crosshair, -cursor-text,

-cursor-row-resize, -cursor-col-resize

.-cursor-default {
  cursor: default;
}

Text Formatters

Classes: -t-break, -t-nowrap, -t-ellipsis, t-single-row

.-t-ellipsis {
  text-overflow: ellipsis;
}

Font Families

Classes: -font-sans-serif, -font-arial, -font-helvetica, -font-verdana, -font-tahoma,

-font-arial-black, -font-comic-sans-ms, -font-trebuchet-ms, -font-impact,-font-courier,

-font-courier-new, -font-andale-mono, -font-georgia, -font-times, -font-times-new-roman,

-font-palatino, -font-century-schoolbook, -font-bookman, -font-garamond, -font-avant-garde

.-font-arial {
  font-family: arial, helvetica, sans-serif;
}

Ribbon

Class: -ribbon

.-ribbon {
  overflow: hidden;
  height: 4px;
  font-size: 0;
}

Responsive Images

Class: -img-responsive

.-img-responsive {
  max-width: none;
}

Background Properties

Classes: -bg-cover, -bg-fixed

.-bg-cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.-bg-fixed {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

Tables

Classes: -table, -table-striped, -table-bordered

.-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: center;
}
.-table th {
  border-bottom: 2px #d1d1d1 solid;
  padding: 8px 12px;
}
.-table td {
  border-bottom: 1px #d4d4d4 solid;
  padding: 8px 12px;
}
.-table-striped tr:nth-child(2n + 1) {
  background-color: #f3f3f3;
}
.-table-bordered,
.-table-bordered td,
.-table-bordered th {
  border: 1px #ccc solid;
}

Rounded Border

Classes: -b-rounded-full, -b-rounded-0, -b-rounded-2-hover

Default values: 1, 2, ..., 10

.-b-rounded-full {
  border-radius: 50%;
}

Effects and Animations

Rotation Effects: -effect-rotate-x-0, -effect-rotate-y-30deg, -effect-rotate-z-ccw-150deg

Default degrees: 30, 45, 60, 90, 120, 135, 150, 180

.-effect-rotate-z-0 {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}

Flip: -effect-flip-hz, -effect-flip-vt

/* Flip horizontal */
.-effect-flip-hz {
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
/* Flip vertical */
.-effect-flip-vt {
  -webkit-transform: scale(1, -1);
  transform: scale(1, -1);
}

Filter: -effect-filter-gray, -effect-filter-none, -effect-filter-blur-1

Blur values: 1, 2, 3, 4

.-effect-filter-gray {
  filter: grayscale(1);
}
.-effect-filter-blur-1,
.-effect-filter-blur-1-hover:hover,
.-effect-filter-blur-1-focus:focus {
  -webkit-filter: blur(1px);
  filter: blur(1px);
}

Transition: -effect-transition

.-effect-transition {
  transition-property: all;
}

Duration: -effect-duration-3, -anim-duration-2

values: 1, 2, ..., 10

.-effect-duration-1 {
  transition-duration: 0.3s;
}
.-anim-duration-2 {
  animation-duration: 0.5s;
}

Timing Functions: -effect-timing-linear, -effect-timing-ease, -effect-timing-ease-in,

-effect-timing-ease-out, -effect-timing-ease-in-out, -effect-timing-circle,

-effect-timing-overshoots, -effect-timing-2-pow-10, -effect-timing-sine,

-effect-timing-pow-2, -effect-timing-pow-3, -effect-timing-pow-4, -effect-timing-pow-5,

-anim-timing-linear, -anim-timing-ease, -anim-timing-ease-in,

-anim-timing-ease-out, -anim-timing-ease-in-out, -anim-timing-circle,

-anim-timing-overshoots, -anim-timing-2-pow-10, -anim-timing-sine,

-anim-timing-pow-2, -anim-timing-pow-3, -anim-timing-pow-4, -anim-timing-pow-5

.-effect-timing-linear {
  transition-timing-function: linear;
}
.-anim-timing-linear {
  transition-timing-function: linear;
}

Simple Effects: -effect-grow-2, -effect-float-3, -effect-skew-ccw-1

values: 1, 2, ..., 5

.-effect-float-1 {
  transform: translateY(-0.125rem);
}

Complex Effects: -effect-underline, -effect-dim, -effect-glow

.-effect-float-1 {
  transform: translateY(-0.125rem);
}

Animations: -anim-background, -anim-spin-5, -anim-spin-ccw-7,

-anim-up-down, -anim-left-right, -anim-move-tlbr, -anim-move-trbl

Spin values: 1, 2, ..., 10

.anim-up-down {
  animation: -anim-up-down 2s ease-in-out infinite;
}
@keyframes -anim-up-down {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
  100% {
    transform: translateY(0);
  }
}

3D Text

Classes: -t-3d-white, -t-3d-black, -t-3d-gray

.-t-3d-white {
  color: #fff;
  text-shadow: -3px -3px 0 #222, 3px -3px 0 #222, -3px 3px 0 #222, 3px 3px 0
      #222, 4px 4px 0 #fff, 5px 5px 0 #fff, 6px 6px 0 #fff, 7px 7px 0 #fff;
  line-height: 0.8em;
  letter-spacing: 0.1em;
  transform: scaleY(0.7);
}

Pushy Button

Class: -btn-pushy

Color

Color: -t-green-4, -lg-t-red-1-hover, -t-blue-3-focus, -t-transparent

Background Color: -bg-green-4, -xxl-bg-red-1-hover, -t-blue-3-focus, -t-transparent

Border Color: -b-green-4, -sm-b-red-1-hover, -b-blue-3-focus, -b-transparent

Gradient Color: -gr-lime-yellow, -gr-orange-pink-lime, -gr-yellow-lime, -gr-pink-lime-aqua

Selection Color: -t-selection-aqua, -bg-selection-lime

Colors: blue, aqua, cyan, teal, green, lime, olive, yellow, orange, brown,

red, pink, fuchsia, purple, maroon, black, gray, white, transparent

Brightness values: 1, 2, ..., 5

Smooth Scrolling

Smooth Scrolling: -scroll-smooth

.-scroll-smooth {
  scroll-behavior: smooth;
}

Flexible Box And Grid System

Classes: -container, -f, -f-item, -f-dir-row, -f-dir-col,

-f-dir-row-reverse, -f-dir-col-reverse, -f-wrap, -f-wrap-reverse,-f-row-gap-2, -f-col-gap-6,

-f-start, -f-end, -f-center, -f-between, -f-around, -f-evenly,

-f-content-start, -f-content-end, -f-content-center,

-f-content-stretch, -f-content-between, -f-content-around, -f-content-evenly,

-f-items-start, -f-items-end, -f-items-center, -f-items-stretch, -f-items-baseline,

-f-item-grow-5, -f-item-shrink-3,

-f-item-order-0, -f-item-order-2-front, -f-item-order-4-back

Gap values: 1, 2, ..., 10

Order, Grow, and Shrink values: 1, 2, ..., 12

Example:

<div class="-container">
  <div class="-f">
    <div class="-f-item -span-auto -pr-3 -h-4 -bg-red-1">...</div>
    <div class="-f-item -span-auto -px-3 -h-4 -bg-blue-2">...</div>
    <div class="-f-item -span-auto -px-3 -h-4 -bg-green-3">...</div>
    <div class="-f-item -span-auto -pl-3 -h-4 -bg-yellow-4">...</div>
  </div>
  <div class="-f">
    <div class="-f-item -span-4 -xl-span-5 -px-5 -h-4 -w-3 -bg-red-2">...</div>
    <div class="-f-item -span-4 -xl-span-3 -px-5 -h-4 -w-3 -bg-blue-3">...</div>
    <div class="-f-item -span-4 -px-5 -h-4 -w-3 -bg-green-5">...</div>
  </div>
</div>

Alignment

Text Alignment: -t-left, -t-right, -t-center, -t-justify

Center Of Box: -center

Vertical Alignment: -vertical-top, -vertical-middle, -vertical-bottom

Stretch

Classes: -w-full, -w-screen, -h-full, -h-screen, -full, -screen

.-w-screen {
  width: 100vw;
}
.-h-full {
  height: 100%;
}

Pressed

Class: -pressed

Z-Index

Classes: -z-1-front, -md-z-2-back

Values: 1, 2, ..., 5

Scroll Bar

Classes: -scroll-hidden, -scroll-x, -scroll-y, -scroll

Float

Classes: -float-left, -float-right, -float-none

Font Size

Classes: -font-1, -font-3

Values: 1, 2, ..., 10

Line Height

Classes: -line-1, -line-3

Values: 1, 2, ..., 10

Display

Classes: -d-hidden, -d-block, -d-blank, -d-collapse, -d-flex, -d-grid

Opacity

Classes: -opacity-transparent, -opacity-5pc, -opacity-15pc-hover, -opacity-35pc-focus

Values: 5pc, 10pc, 15pc, 25pc, 35pc, 50pc, 65pc, 75pc, 85pc, 90pc, 95pc,

transparent, full

Shadow

Classes: -shadow-1, -md-shadow-2-hover, -shadow-rt-4-focus, -shadow-lt-6, -md-shadow-rb-3

Values: 1, 2, ..., 6

Border

Classes: -b, -b-none, -sm-bt, -md-bb, -lg-br, -bl, -bx, -by, -b-1, -md-b-3,

-b-solid, -xl-b-dashed, -xxl-b-dotted, -b-double, -b-ridge, -b-groove

Values: 1, 2, ..., 6

Outline

Classes: -outline, -sm-outline-none, -lg-outline-1, -outline-3, -outline-offset-3, -lx-outline-dashed

Values: 1, 2, ..., 6

Height And Width

Width: -md-w-3-hover, -w-100px-hover

Max-Width: -md-mw-3-focus, -mw-100px-hover

Height: -md-h-3-hover, -h-100px-focus

Automatic Width And Height: -w-auto-1, -h-auto-3

Width, max-width, and height values: 0, 1, 2, ..., 10, 1px, 2px, 3px, 5px, 7px,

10px, 15px, 20px, 25px, 30px, 35px,40px, 45px, 50px, 60px, 70px, 80px,

90px, 100px, 120px, 140px, 160px, 180px,200px, 250px, 300px, 350px, 400px,

450px, 500px, sm, md, lg, xl, xxl

Automatic width and height values: 1, 2, ..., 10

.-w-auto-1 {
  width: calc(100% - 10px);
}

Margin And Padding

Margin: -m-1, -mx-4, -sm-my-4, -mt-2, -mb-2, -lx-ml-3, -lg-mr-5

Padding: -p-1, -px-4, -sm-py-4, -pt-2, -pb-2, -lx-pl-3, -lg-pr-5

Margin values: auto, 1, 2, ..., 10

Padding values: 1, 2, ..., 10

Conclusion

Dash provides a comprehensive set of utility classes that facilitate rapid and efficient web design. By utilizing these classes, developers can create responsive, visually appealing layouts with minimal effort.