How to resize image without losing image quality via css


main apni website ki images ko resize krta hon to image kharab ho jati hy jese pixel phat jati ho iska koi solution btain

Train Asked on November 14, 2018 in Web Designing.
Add Comment
1 Answer(s)
Best answer


<div class="post-thumbnail">
<a href="your-link">
<img width="310" height="165" src="" alt="image resize"> </a>


.post-thumbnail img {
image-rendering: pixelated;
height: 165px !important;
max-width: 310px !important;
width: 100%;
transition: all .4s;

post-thumbnail ko apni class se replace kr dena ho jay gi image resize without losing quality

Admin Answered on November 14, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.