Image Zoom in & Zoom out

  • STEPS

    1. html

    
                     
    
    
                      <div class="col-md-3 col-sm-12 col-xs-12 biright"> 
          <img src="upperlimb.jpg" class="img-responsive" alt="upper limb">
            
         </div>
    
    
    
                    

    2. css

    
    
    
                   
    
                    .biright {
      text-align:center;
      padding: 20px !important;
      background: rgba(254, 89, 149, 1);
      background: -moz-linear-gradient(-45deg, rgba(254, 89, 149, 1) 0%, rgba(222, 164, 29, 1) 100%);
      background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(254, 89, 149, 1)), color-stop(100%, rgba(222, 164, 29, 1)));
      background: -webkit-linear-gradient(-45deg, rgba(254, 89, 149, 1) 0%, rgba(222, 164, 29, 1) 100%);
      background: -o-linear-gradient(-45deg, rgba(254, 89, 149, 1) 0%, rgba(222, 164, 29, 1) 100%);
      background: -ms-linear-gradient(-45deg, rgba(254, 89, 149, 1) 0%, rgba(222, 164, 29, 1) 100%);
      background: linear-gradient(135deg, rgba(254, 89, 149, 1) 0%, rgba(222, 164, 29, 1) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe5995', endColorstr='#dea41d', GradientType=1);
    }
    
    .biright img {
      width: 170px;
      margin: 7px auto 23px auto;
      border: 5px solid #fff;
      border-radius: 100%;
      -webkit-box-shadow: 0px 0px 0px 12px rgba(255, 255, 255, 0.25);
      -moz-box-shadow: 0px 0px 0px 12px rgba(255, 255, 255, 0.25);
      box-shadow: 0px 0px 0px 12px rgba(255, 255, 255, 0.25);
      -webkit-transition: .8s;
      -moz-transition: .8s;
      -o-transition: .8s;
      transition: .8s;
    }
    .biright:hover img {
      -webkit-transform: scale(1.1, 1.1);
      -moz-transform: scale(1.1, 1.1);
      -o-transform: scale(1.1, 1.1);
      transform: scale(1.1, 1.1);
    }