swapnesh swapnesh - 5 months ago 12
HTML Question

Image transformation via CSS not applied in Chrome & IE

This is my code and working fine in Firefox, however its not working in the required format what FF showing this time in chrome and IE.

When page load it shows even in Chrome but after that all transformation stops working, let me know what I am doing wrong or how do i fix it.

NOTE- I know

blank.jpg
does not exists here, but I am sure this wont hurt still for the fix.

Fiddle - Star Fix

FF screenshot (Require)

FireFox

Chrome screenshot(Not correct)

Chrome

Answer

It does make a difference that blank.jpg does not exists here, Firefox handles the image as 0x0 but Chrome handles it as 50x50 because thats what you set in the <img> Tag

JSFiddle

Comments