"Responsive User Detail"
Bootstrap 3.0.0 Snippet by ashutosh049

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="row"> <div class="my_profile col-xs-12 col-sm-8 col-sm-offset-2"> <img class="img-circle" src="http://openclipart.org/image/300px/svg_to_png/4749/acspike_male_user_icon.png"> </img> <h4 class="media-heading">FirstName Lastname</h4> <h5>Position1</a></h5> <div class="my_bio"> <hr style="margin:8px auto"> <p>Malesuada potenti morbi condimentum hendrerit litora vitae quam, cursus viverra elit Pharetra hendrerit sollicitudin purus ante. Tempus.</p> <p>Viverra dictumst parturient nascetur curabitur faucibus feugiat vitae cursus ornare porta. Vestibulum cubilia.</p> <p>Malesuada potenti morbi condimentum hendrerit litora vitae quam, cursus viverra elit Pharetra hendrerit sollicitudin purus ante. Tempus.</p> </div> </div> <div class="my_profile col-xs-12 col-sm-8 col-sm-offset-2"> <img class="img-circle" src="http://openclipart.org/image/300px/svg_to_png/1646/dagobert83_female_user_icon.png"> </img> <h4 class="media-heading">FirstName Lastname</h4> <h5>Position1</a></h5> <div class="my_bio"> <hr style="margin:8px auto"> <p>Malesuada potenti morbi condimentum hendrerit litora vitae quam, cursus viverra elit Pharetra hendrerit sollicitudin purus ante. Tempus.</p> <p>Viverra dictumst parturient nascetur curabitur faucibus feugiat vitae cursus ornare porta. Vestibulum cubilia.</p> </div> </div> </div>
.my_profile { margin-bottom:3em; } .my_profile img { float:left; width:150px; height:150px; border:5px solid #eee; margin-right:10px; } .my_bio { margin-left:160px; } @media (max-width: 768px) { img { border:5px solid #eee; width:50px !important; height:50px !important; } .my_bio { margin-left:0 !important; } }

Related: See More


Questions / Comments: