Loading

Loading

Sizing

Learn how to resize your elements with the sizing utilities for width, height, font to modify and design your elements easily with shorthand classes

Width Utilities

in the table below you can find a list of shorthand width properties class names to set a size for any element width, and you can use the grid columns classes for percentage width.

ClassnameDescriptionMarkup
.w-autoset a size of auto width.<any>
.w-fluid, .fluidset a size of 100% width.<any>
.w-50set a size of 50px width.<any>
.w-75set a size of 50px width.<any>
.w-100set a size of 100px width.<any>
.w-125set a size of 125px width.<any>
.w-150set a size of 150px width.<any>
.w-200set a size of 200px width.<any>
.w-225set a size of 225px width.<any>
.w-250set a size of 250px width.<any>
.w-275set a size of 275px width.<any>
.w-300set a size of 300px width.<any>
.w-320set a size of 320px width.<any>
.w-#-${breakpoint}ser a size from a specific screen breakpoint and up.<any>
.col-1set a size of 8.33333% width.<any>
.col-2set a size of 16.66667% width.<any>
.col-3set a size of 25% width.<any>
.col-4set a size of 33.33333% width.<any>
.col-5set a size of 41.66667% width.<any>
.col-6set a size of 50% width.<any>
.col-7set a size of 58.33333% width.<any>
.col-8set a size of 66.66667% width.<any>
.col-9set a size of 75% width.<any>
.col-10set a size of 83.33333% width.<any>
.col-11set a size of 91.66667% width.<any>
.col-12set a size of 100% width.<any>
.col-{breakpoint}-#set a size of * width from a specific screen breakpoint and up.<any>
Note : ( —— ) refer to the same value as the column before.

Height Utilities

in the table below you can find a list of shorthand height properties class names to set a size for any element height, for rarely needed cases.

ClassnameDescriptionMarkup
.h-autoset a size of auto height.<any>
.h-25set a size of 25% height.<any>
.h-50set a size of 50% height.<any>
.h-75set a size of 75% height.<any>
.h-100set a size of 100% height.<any>
.h-25vhset a size of 25vh height.<any>
.h-50vhset a size of 50vh height.<any>
.h-75vhset a size of 75vh height.<any>
.h-100vhset a size of 100vh height.<any>
Note : ( —— ) refer to the same value as the column before.

Min & Max Height

in the table below you can find a list of shorthand max-height & min-height properties class names to set a size for any element max-height & min-height, for rarely needed cases.

ClassnameDescriptionMarkup
.h-min-25set a size of 25% min-height.<any>
.h-min-50set a size of 50% min-height.<any>
.h-min-75set a size of 75% min-height.<any>
.h-min-100set a size of 100% min-height.<any>
.h-min-25vhset a size of 25vh min-height.<any>
.h-min-50vhset a size of 50vh min-height.<any>
.h-min-75vhset a size of 75vh min-height.<any>
.h-min-100vhset a size of 100vh min-height.<any>
.h-{breakpoint}-min-*set a size of *** min-height. from a specific screen breakpoint and up.<any>
Note : ( —— ) refer to the same value as the column before.
ClassnameDescriptionMarkup
.h-max-25set a size of 25% max-height.<any>
.h-max-50set a size of 50% max-height.<any>
.h-max-75set a size of 75% max-height.<any>
.h-max-100set a size of 100% max-height.<any>
.h-max-25vhset a size of 25vh max-height.<any>
.h-max-50vhset a size of 50vh max-height.<any>
.h-max-75vhset a size of 75vh max-height.<any>
.h-max-100vhset a size of 100vh max-height.<any>
Note : ( —— ) refer to the same value as the column before.

Min & Max Width

in the table below you can find a list of shorthand max-width & min-width properties class names to set a size for any element max-width & min-width, that matches screens sizes for common use cases.

ClassnameDescriptionMarkup
.w-min-2560set a size of 2560px min-width.<any>
.w-min-1920set a size of 1920px min-width.<any>
.w-min-1600set a size of 1600px min-height.<any>
.w-min-1400set a size of 1400px min-width.<any>
.w-min-1366set a size of 1366px min-width.<any>
.w-min-1200set a size of 1200px min-width.<any>
.w-min-1100set a size of 1100px min-width.<any>
.w-min-768set a size of 768px min-width.<any>
.w-min-640set a size of 640px min-width.<any>
.w-min-570set a size of 570px min-width.<any>
.w-min-480set a size of 480px min-width.<any>
.w-min-420set a size of 420px min-width.<any>
.w-min-390set a size of 390px min-width.<any>
.w-min-360set a size of 360px min-width.<any>
.w-min-320set a size of 320px min-width.<any>
.w-min-260set a size of 260px min-width.<any>
.w-min-200set a size of 200px min-width.<any>
.w-min-180set a size of 180px min-width.<any>
.w-min-150set a size of 150px min-width.<any>
.w-min-120set a size of 120px min-width.<any>
.w-min-90set a size of 90px min-width.<any>
Note : ( —— ) refer to the same value as the column before.
ClassnameDescriptionMarkup
.w-max-2560set a size of 2560px max-width.<any>
.w-max-1920set a size of 1920px max-width.<any>
.w-max-1600set a size of 1600px max-height.<any>
.w-max-1400set a size of 1400px max-width.<any>
.w-max-1366set a size of 1366px max-width.<any>
.w-max-1200set a size of 1200px max-width.<any>
.w-max-1100set a size of 1100px max-width.<any>
.w-max-768set a size of 768px max-width.<any>
.w-max-640set a size of 640px max-width.<any>
.w-max-570set a size of 570px max-width.<any>
.w-max-480set a size of 480px max-width.<any>
.w-max-420set a size of 420px max-width.<any>
.w-max-390set a size of 390px max-width.<any>
.w-max-360set a size of 360px max-width.<any>
.w-max-320set a size of 320px max-width.<any>
.w-max-260set a size of 260px max-width.<any>
.w-max-200set a size of 200px max-width.<any>
.w-max-180set a size of 180px max-width.<any>
.w-max-150set a size of 150px max-width.<any>
.w-max-120set a size of 120px max-width.<any>
.w-max-90set a size of 90px max-width.<any>
Note : ( —— ) refer to the same value as the column before.

Font sizes

in the table below you will find all font-size utilities class names to help you control your content and style it in the best way you see fit, and it can be used from a specific breakpoint and up using .fs-{breakpoint}-* classes pattern

ClassnameDescriptionMarkup
.fs-12adding font-size of 12px<any>
.fs-13adding font-size of 13px<any>
.fs-14adding font-size of .875rem (14px)<any>
.fs-15adding font-size of .9375rem (15px)<any>
.fs-16adding font-size of 1rem (16px)<any>
.fs-17adding font-size of 1.0625rem (17px)<any>
.fs-18adding font-size of 1.125rem (18px)<any>
.fs-19adding font-size of 1.1875rem (19px)<any>
.fs-20adding font-size of 1.25rem (20px)<any>
.fs-{breakpoint}-*adding font-size from a specific screen breakpoint and up<any>
.small-textadding font-size of 0.875rem<any>
.large-textadding font-size of 1.125rem and 1.25rem for xLarge screens<any>
.h6adding font-size of 1.25rem (17px)<any>
.h5adding font-size of 1.25rem (20px)<any>
.h4adding font-size of 1.25rem (23px)<any>
.h3adding font-size of 1.25rem (25px)<any>
.h2adding font-size of 1.25rem (28px)<any>
.h1adding font-size of 1.25rem (32px)<any>
.display-h6adding display font-size 2.25rem (36px)<any>
.display-h5adding display font-size 2.5rem (40px)<any>
.display-h4adding display font-size 2.75rem (44px)<any>
.display-h3adding display font-size 3rem (48px)<any>
.display-h2adding display font-size 3.25rem (52px)<any>
.display-h1adding display font-size 3.875rem (62px)<any>
.display-{breakpoint}-h*adding display font-size from a specific screen breakpoint and up<any>
Note : ( —— ) refer to the same value as the column before.

All rights reserved © 2016 – 2024 Phenix Tools (Abdullah.Ramadan)

On This Page