Bootstrap Placeholders
- Bootstrap provides several placeholder classes that can be used to display dummy content while developing websites.
- These classes are useful for when you need to visualize how your content will look but don't have actual content to use.
Syntax
Here are some examples of Bootstrap's placeholder classes:
.placeholder
: this class creates a gray box with a dotted border and the word "Placeholder" inside..placeholder-*
: this class creates a gray box with a dotted border and a specific aspect ratio. For example,.placeholder-4by3
creates a box with a 4:3 aspect ratio.