• Resolved BayTheMoon

    (@baythemoon)


    Images on one of my blog pages are reduced to 40% of full size using css. I want to have them go to 100% when hovering. Can this be done? I’ve seen many suggestions but none seem to work. Clearly I’m missing something, but I know now what. Any clues out there?

    CSS
    .img hover img
    {
    img-size: 100%;
    }

    HTML
    <img class=”hover img” src=”https://www.baythemoon.com/blog/images/meleather.jpg&#8221; alt=”Tony in his leather jacket” />

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I CSS change image size with hover?’ is closed to new replies.