benji_r
benji_r

Reputation: 555

-webkit-box-reflect - CSS for FireFox

I am trying to do someting like this http://designshack.net/tutorialexamples/HoverEffects/Ex5.html, where the reflection of the image shows under , however it doesnt work on IE or FireFox. here is my code that I have http://jsfiddle.net/srvcm/1/ Is there any trick to make firefox to do this?

 .ex img {
        <!--margin: 25px;-->
        opacity: 0.9;
        border: 1px solid #eee;

        /*Transition*/
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;

        /*Reflection*/
        -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.7, transparent), to(rgba(0,0,0,0.1)));


    }


    .ex img:hover {  
       opacity: 1;

       /*Reflection*/
      -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.7, transparent), to(rgba(0,0,0,0.7)));

       /*Glow*/
      -webkit-box-shadow: 0px 0px 20px rgba(255,255,255,0.8);
      -moz-box-shadow: 0px 0px 20px rgba(255,255,255,0.8);
      box-shadow: 0px 0px 20px rgba(255,255,255,0.8);
    }

Thank you in advance

Upvotes: 4

Views: 4079

Answers (1)

ModS
ModS

Reputation: 846

http://caniuse.com/#search=box-ref <- cross-browsers compatability's seem to be lacking for that property

Upvotes: 4

Related Questions