bootstrap right-aligns the div code as follows:
<div class="col-lg-5 pull-right"></div>
div introduction:
DIV tag , called a separation mark. The function is to set the placement position of words, paintings, tables, etc. When you put text, images, or anything else inside a DIV, it can be called a "DIV block", or a "DIV element" or a "CSS-layer", or simply a "layer". In Chinese we call it "level".
Definition:
The
Usage:
The DIV tag will be more powerful when applied to Style Sheet (style sheet). Its ultimate purpose is to give designers another organizational ability, including Class, Style, title, ID and other attributes.
It is not necessary to add a class or id to each
You can apply class or id attributes to the same
For more technical articles related to Bootstrap, please visit the Bootstrap Tutorial column to learn!
The above is the detailed content of How to make div right in bootstrap. For more information, please follow other related articles on the PHP Chinese website!