bootstrap breakponts code example

Example 1: bootstrap breakpoints

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

Example 2: bootstrap breakpoints

####### Bootstrap 5 Breakpoints #######

Breakpoint  	      Class infix 	Dimensions
X-Small	              None	         <576px
Small	              sm	         >=576px
Medium	              md	         >=768px
Large	              lg	         >=992px
Extra large	          xl	         >=1200px
Extra extra large	  xxl	         >=1400px

Tags:

Css Example