What is the purpose of the 'd-none' class in Bootstrap?

  • d-hide
  • d-invisible
  • d-none
  • hidden
The d-none class in Bootstrap is used to hide an element. It sets the display property to none, making the element invisible on the page. This is commonly used for responsive design when you want to hide an element on certain screen sizes or devices. It's more efficient than using custom CSS to hide elements.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *