Answers for "how to ratio a img in css"

C#
0

keep aspect ratio of image css

img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
Posted by: Guest on April-29-2020

C# Answers by Framework

Browse Popular Code Answers by Language