Vulk Utilities

Vulk comes with a lot of CSS utilities that will make your development way more easier. Explore Vulk utilities.

Theme utilities

Utility CSS classes and how to use them

Vulk comes with some built-in utilities to help you code without writing unecessary CSS. Some utilities have accepted values that are also listed here. You'll find additional useful utilities by digging into the template code.

CategoryClassDescriptionAccepted values
stateis-hiddenapplies display none to target element-
stateis-disableddisables the target element-
bordershas-bordergives a border to target element-
bordersis-circlegives a border-radius of 50% to target element-
bordersis-rounded-mdgives a border-radius of .625rem to target element-
bordersis-rounded-lggives a border-radius of .825rem to target element-
shadowsis-disabledgives a light shadow to the target element-
heightheight-fullapplies height: 100% target element-
heightheight-screenapplies height: 100vh target element-
widthw-*applies a specific width to target elementfull, 1/5, 1/4, 1/3, 1/2
widthmax-w-*applies a specific max-width to target elementfull, 1/5, 1/4, 1/3, 1/2, 1, 2, 3, 4, 5, 6, 7, 8, 9
widthmax-w-mobilesets target element width to 100% on mobile devices-
marginno-msets target element margin to 0-
marginmx-autosets target element left and right margin to auto-
marginm-*applies a specific margin to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
marginmx-*applies a specific horizontal margin to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
marginmy-*applies a specific vertical margin to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
marginml-*applies a specific left margin to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
marginmr-*applies a specific right margin to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
marginmt-*applies a specific top margin to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
marginmb-*applies a specific bottom margin to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
paddingp-*applies a specific padding to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
paddingpx-*applies a specific horizontal padding to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
paddingpy-*applies a specific vertical padding to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
paddingpl-*applies a specific left padding to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
marginpr-*applies a specific right padding to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
paddingpt-*applies a specific top padding to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
paddingpb-*applies a specific bottom padding to target elementpx, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64
opacityopacity-*applies a specific opacity to target element5, 10, 15, 20, 25, 30, 40, 50, 60, 70, 80, 90, 100
colortext-*applies a specific color to target elementwhite, primary, secondary, success, info, warning, danger, orange, blue, yellow, purple, green, light
background-colorbg-*applies a specific background color to target elementwhite, primary, secondary, success, info, warning, danger, orange, blue, yellow, purple, green, light
1:1 ratio sizesize-*applies a specific 1:1 ratio pixel size to target element24x24, 28x28, 32x32, 36x36, 40x40, 44x44, 48x48, 52x52, 56x56, 60x60, 70x70, 80x80, 90x90, 100x100, 110x110, 120x120, 130x130, 140x140, 150x150, 175x175, 200x200
overflowoverflow-hiddensets target element overflow to hidden-
overflowoverflow-x-autosets target element overflow-x to auto-
overflowoverflow-y-autosets target element overflow-y to auto-
z-indexz-*sets target element z-index to specified value0, 1, 2, 3
font-sizerem-*sets target element font size to specified rem value50, 60, 70, 75, 80, 85, 90, 95, 100, 115, 125, 150, 175, 200
font-weightweight-*sets target element font weight to specified value3, 4, 5, 6, 7