Question

Do you know how to take an effect like this: Image enter image description here

when hovering on the picture?

I keep searching css and jquery but still not reach what i need.

Please give me a solution to do this.

Thank you so much!

(Sorry about my english)

Was it helpful?

Solution

You can use CSS border-radius property and apply it on hover, e.g. something like:

#img:hover {
    border-top-right-radius:50% 10%;
    border-top-left-radius:50% 10%;
    border-bottom-right-radius:50% 10%;
    border-bottom-left-radius:50% 10%
}

Demo: http://jsfiddle.net/r3KzP/1/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top