Please tell me HOW you can make a div block so that it has properties like img class = "img-responsive".
<div class="container"> <div class="row"> <div class="col-md-4 col-lg-4 col-sm-12 col-xs-12"> <img src="image/banner-1.jpg" class="img-responsive"> </div> <div class="col-md-8 col-lg-8 hidden-sm hidden-xs" id="md-lg"> <p>333</p> </div> </div> <div class="col-sm-12 col-xs-12 hidden-lg hidden-md" id="sm-xs" > <p>333</p> </div> sm-xs {
background-color: gray; max-width: 370px; }
md-lg {
background-color: gray; min-height: 225px; }
