Bootstrap Floats Tutorial
×

Bootstrap Floats

4945

Bootstrap float element to give the alignment left or right with class .pull-left or .pull-right. Now you don't need to give the more code to do this work, through bootstrap float element you can do it fast and responsive on all devices.

For more brief copy and paste below code or see the result.

Example:

<!DOCTYPE html>
<html>
<head>
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
<div class="container">

<p class="pull-left"> Bootstrap float left </p>
<p class="pull-right"> Bootstrap float right </p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"> </script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"> </script>
</body>

</html>



Best WordPress Hosting


Share:


Discount Coupons

Unlimited Video Generation

Best Platform to generate videos

Search and buy from Namecheap

Secure Domain for a Minimum Price



Leave a Reply


Comments
    Waiting for your comments

Coding Tag WhatsApp Chat