Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva
 

Hover on touch devices? Yes we can!

I don't know how much sense has is but I found a solution on internet.

 

 

HTML 

<body ontouchstart="">
    <a href="#">
        <img class="shadow"  src="/site/myurl4image" >
    </a>
</body>

 

CSS 

.shadow:active{
    -webkit-box-shadow:inset 0px 0px 20px #222; 
    -moz-box-shadow:inset 0px 0px 20px #222; 
    -o-box-shadow:inset 0px 0px 20px #222; 
    box-shadow:inset 0px 0px 20px #222; 
}

 

 

REFERENCES

 

DISQUS - Leave your comments here