To clear the float of an element, use the .clearfix Bootstrap class.ExampleYou can try to run the following code to clear float of an elementLive Demo Bootstrap Example left right
Use the .clearfix class to clear the float of any element in Bootstrap.ExampleYou can try to run the following code to implement the clearfix class:Live Demo Bootstrap Example Quick Float to left Quick Float to right
To show content with Bootstrap, use the .show class in Bootstrap. You can try to run the following code to make content visibleExampleLive Demo Bootstrap Example Content is visible. Content is hidden.
To hide content with Bootstrap, use the .hidden class in Bootstrap. You can try to run the following code to hide content:ExampleLive Demo Bootstrap Example Content is visible. Content is hidden.
Use class center-block to set an element to center.You can try to run the following code to set the element to centerExampleLive Demo Bootstrap Example Element at center
Hide an element to all devices except screen readers with the class .sr-only.You can try to run the following code to implement the sr-only Bootstrap −ExampleLive Demo Bootstrap Example Email address Password
Dropdown menus are toggleable, contextual menus for displaying links in a list format. To use a drop-down, just wrap the drop-down menu within the class .dropdown.You can try to run the following code to implement the dropdown class in BootstrapExampleLive Demo Bootstrap Example Subjects Java Data Mining C++ Separated link
Float an element to the right with class pull-right.You can try to run the following code to implement the pull-right classExampleLive Demo Bootstrap Example Float to right
To create a block level button, use the .btn-block class.You can try to run the following code to add a block level button −ExampleLive Demo Bootstrap Example The following are block level buttons: Block level Primary button Block level button
To set the active state for Bootstrap Buttons, use the .active class.The button will appear pressed as in the following codeExampleLive Demo Bootstrap Example The following are some buttons: Default Button Active Button
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP