responsive images css

CSS
  .responsive {
  max-width: 100%;
  height: auto;
} 
Source

Also in CSS: