Fixedsizing

Apply .w-{size}pxor .h-{size}pxto any element (except inline elements) to set the width or height of the element to {size}px. Available sizes are:

  • 0, 100, 200, 300, 400, 500, 600, 700, 800, 900
  • 10, 20, 30, 40, 50, 60, 70, 80, 90
  • 50, 150, 250, 350, 450
  • 120, 140, 160, 180
  • 25, 50, 75

For example, .w-50pxapplies width: 50pxto the element.

Width examples
Class nameDescription
.w-0pxwidth: 0
.w-10pxwidth: 10px
.w-20pxwidth: 20px
.w-{*}pxwidth: {*}px

Height examples
Class nameDescription
.h-0pxheight: 0
.h-10pxheight: 10px
.h-20pxheight: 20px
.h-{*}pxheight: {*}px

Percentagesizing

Same as fixed sizing, you have classes to set width and height in percentage.

Width percentage sizing
Class nameDescription
.w-fullwidth: 100%
.w-halfwidth: 50%
.w-thirdwidth: 33.333333%
.w-fourthwidth: 25%
.w-fifthwidth: 20%
Height percentage sizing
Class nameDescription
.h-fullheight: 100%
.h-halfheight: 50%
.h-thirdheight: 33.333333%
.h-fourthheight: 25%
.h-fifthheight: 20%

Fullscreensizing

These classes makes size of the element as equal as the browser size.

Class nameDescription
.w-fullscreenwidth: 100vw
.h-fullscreenheight: 100vh
.min-w-fullscreenmin-width: 100vw
.min-h-fullscreenmin-height: 100vh