Based on the comparison code before and after CSS3 and HTML5 image processing,
Share a comparison code between CSS3 and HTML5 before and after image processing. This is an element that converts an image into an automatic response using CSS3 and HTML5. The image scales and crops to adapt to the container. As follows:
Download Online Preview source code
Implementation code.
Html code:
<Div id = "intelligence" class = "section"> <div class = "container"> <div class = "row"> <div class = "col-md-6 col-md-offset-3"> <br/> <p class = "text-center"> original image </p> <br/> </div> </div> <div class = "row"> <div class = "col-md-4 text-center"> <span class = "glyphicon-menu-down" aria-hidden = "true"> </span> <br/> <div class = "frame-container"> <div class = "frame-square"> </div> <br/> <p> Plaza </p> </div> <div class = "col-md-4 text- center "> <span class =" glyphicon-menu-down "aria-hidden =" true "> </span> <br/> <div class =" frame-container "> <div class =" frame-landscape "> </div> <br/> <p> landscape </p> </div> <div class = "col-md-4 text-center"> <span class = "glyphicon-menu-down" aria-hidden = "true "> </span> <br/> <div class =" frame-container "> <div class =" frame-portrait "> </div> <br/> <p> portrait </p> </div>/ div> <div class = "divider"> </div> <div id = "mizmizable" class = "section"> <div class = "container"> <div class =" row "> <div class =" col-md-4 ">
Via: http://www.w2bc.com/article/55875