gudh / ihover

iHover is a collection of hover effects using pure CSS, inspired by codrops article, powered by Sass.

Home Page:gudh.github.io/ihover/dist/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solution to image responsive size problems

jdrda opened this issue · comments

As I had problems with image size I used this code in css:

.ih-item.square {
width: auto !important;
height: auto !important;
}

Which can be applied to all types also, for me it is better to set the image size. Width and height of the container should be defined by developer, not in the library.

Adding that to my css works just fine. Thanks for sharing this solution.