We now have a youtube channel. Subscribe

Bootstrap | Wells

Bootstrap Wells


Hello folks! welcome back to a new edition of our tutorial on Bootstrap. In this section of our tutorial on Bootstrap, we are going to be studying about Bootstrap Wells.

A well is a container in a <div> that causes the content to appear hollowed or an inset effect on the page. In order to create a well, simply wrap the content that you would like to appear in the well with a <div> containing the .well class.

Example

Following example demonstrates a default well -

<div class = "well">Hi, am in well !!</div>

Output

When the above example is executed, it will produce the following result -

Hi, am in well !!


Sizing

You can change the size of well using the optional classes such as well-lg or well-sm. These classes are used in conjunction with .well class. This affects the padding, hence making the well larger or smaller depending on the class.

Example

Following example demonstrates this -

<div class = "well well-lg">Hi, am in large well !!</div>
<div class = "well well-sm">Hi, am in small well !!</div>

Output

When the above example is executed, it will produce the following result -

Hi, am in large well !!
Hi, am in small well !!


Alright guys! This is where we are going to be rounding up for this tutorial. In our next tutorial guide, we are going to be studying about the Bootstrap Plugins Overview.

Feel free to ask your questions where necessary and we will attend to them as soon as possible. If this tutorial was helpful to you, you can use the share button to share this tutorial.

Follow us on our various social media platforms to stay updated with our latest tutorials. You can also subscribe to our newsletter in order to get our tutorials delivered directly to your emails.

Thanks for reading and bye for now.

Post a Comment

Hello dear readers! Please kindly try your best to make sure your comments comply with our comment policy guidelines. You can visit our comment policy page to view these guidelines which are clearly stated. Thank you.
© 2021.WebDesignTutorialz. All rights reserved. Developed by Jago Desain