Utility classes

Utility classes — formerly helper classes to speed up your development process.


For faster mobile-friendly and responsive development, Bootstrap includes dozens of utility classes for showing, hiding, aligning, and spacing content.

Bootstrap utilities

We have added new utility classes in theme to speed up your development process. Checkout the list below:

Utility class name Description Available options
.text-primary-hover Set text primary color on hover to all anchor tags under .text-primary-hover container. -
.font-base Apply font family base -
.font-heading Apply font family heading -
.grayscale To apply grayscale filter on image or any section. On hover it will change back to normal -
.zoom-hover Scale zoom on hover with smooth transition -
.up-hover Scale up on hover with smooth transition -
.zoom-# Zoom elements by using this class .zoom-1
.zoom-2
.zoom-3
.zoom-4
.opacity-# Set opacity to elements by using this class .opacity-1
.opacity-2
.opacity-3
.opacity-4
.opacity-5
.opacity-6
.opacity-7
.opacity-8
.opacity-9
.z-index-# Set z-index .z-index-9
.z-index-99
.z-index-n9 Set z-index in negative -
.h-### Height utilities. You can also set different height in different Screen sizes by combining with Screen sizes classes h-md-400 .h-300
.h-400
.h-500
.h-540
.h-560
.h-600
.h-700
.icon-sm, md, lg, and xl Set icon box with fixed height and width .icon-sm
.icon-md
.icon-lg
.icon-xl