I could not find hero-unit css class (present in bootstrap 2) in bootstrap 3. Are there any class similar to hero-unit in bootstrap 3 ?
3 Answers
it was renamed. Now use class="jumbotron"
-
1And it seems to have been renamed or removed in the intervening 9 years. Commented Aug 1, 2022 at 8:38
Hero Unit is renamed to "Jumbotron".
Here is a link to the documentation: http://getbootstrap.com/components/#jumbotron
The "jumbotron" (formerly "hero-unit") class has been removed in Bootstrap 5 because you can create the effect with other classes.
There is a migration guide which points you to an example: