You can use the max-width property in CSS to make an image responsive by setting the max-width of the image to be a percentage of the containing element. This will make the image resize to fit within the container element, but will not make it larger than its original size.
You can also use the max-width property in combination with width property for scaling up adjustment.
In this video | In this lecture 39 CSS Responsive Image Tutorial | Responsive Images in Hindi/Urdu, you will find the answers to the following questions.
• How do I resize an image in responsive?
• How do I resize an image proportionally?
• How do I make an image scale proportionally in CSS?
• How to resize image according to screen resolution in HTML?
**********************************************************************************
YouTube Links:
Playlist: https://www.youtube.com/watch?v=GfbC39zrkmY&list=PLZXMVPeA_JDWeE9yPk01D4sgJPL-5OhPP
Subscribe: https://www.youtube.com/watch?v=GfbC39zrkmY
#html5 #css3 #htmltutorial #csstutorial #responsiveimage #responsiveimagebycss
**********************************************************************************
Thanks for watching and reading.
**********************************************************************************