gudh / ihover

iHover is a collection of hover effects using pure CSS, inspired by codrops article, powered by Sass.
gudh.github.io/ihover/dist/index.html
3.48k stars 1.19k forks source link

Solution to image responsive size problems #15

Open jdrda opened 8 years ago

jdrda commented 8 years ago

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.

FranciscoKnebel commented 8 years ago

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