Bootstrap 5

Bootstrap Tutorials

Bootstrap 5 Colors

Bootstrap 5 Colors

 

 

Bootstrap 5 has some contextual classes that can be used to provide "meaning through colors". IN this, by adding the desired class to an element, its color will be changed according to that particular class.

 

Bootstrap 5 text classes are:-

 

  • .text-muted
  • .text-primary
  • .text-success
  • .text-info
  • .text-warning
  • .text-danger
  • .text-secondary
  • .text-white
  • .text-dark
  • .text-body (default body color/often black)
  • .text-light

Code Explanation

All Tutorials related to Bootstrap Tutorials

All Sections related to Bootstrap 5