Bootstrap
Bootstrap
Bootstrap Wells
❮ PreviousNext ❯
Wells
The .well class adds a rounded border around an element with a gray
background color and some padding:
Basic Well
Example
<div class="well">Basic Well</div>
Try it Yourself »
Well Size
Small Well
Normal Well
Large Well
Change the size of the well by adding the .well-sm class for small wells
or .well-lg class for large wells:
Example
<div class="well well-sm">Small Well</div>
<div class="well well-lg">Large Well</div>
Try it Yourself »
By default, wells are medium in size.
❮ PreviousNext ❯
NEW
We just launched
W3Schools videos
Explore now
COLOR PICKER
LIKE US
Get certified
by completing
a course today!
w3schoolsCERTIFIED.2021
Get started
CODE GAME
Play Game
Report Error
Forum
About
Shop
Top Tutorials
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
How To Tutorial
SQL Tutorial
Python Tutorial
W3.CSS Tutorial
Bootstrap Tutorial
PHP Tutorial
Java Tutorial
C++ Tutorial
jQuery Tutorial
Top References
HTML Reference
CSS Reference
JavaScript Reference
SQL Reference
Python Reference
W3.CSS Reference
Bootstrap Reference
PHP Reference
HTML Colors
Java Reference
Angular Reference
jQuery Reference
Top Examples
HTML Examples
CSS Examples
JavaScript Examples
How To Examples
SQL Examples
Python Examples
W3.CSS Examples
Bootstrap Examples
PHP Examples
Java Examples
XML Examples
jQuery Examples
Web Courses
HTML Course
CSS Course
JavaScript Course
Front End Course
SQL Course
Python Course
PHP Course
jQuery Course
Java Course
C++ Course
C# Course
XML Course
Get Certified »