Css animation visible on hovering -
i've got circle image underneath.
when hover on circle want circle bigger , mask of image. have done this: (works in webkit)
.clip { position: absolute; -webkit-clip-path: circle(40px @ center); -webkit-transition: -webkit-clip-path 2s; /* safari */ transition: -webkit-clip-path 2s; } .clip:hover { -webkit-clip-path: circle(75px @ center); visibility: visible; } }
<div class="clip-wrapper"> <div class="clip"> <p>workshops</p> <img name="workshops" alt="workshops" src="http://lorempixel.com/422/750" width="422" height="750" /> <div class="workshops-container"> <div class="workshop"> <img name="workshop1" alt="workshop1" src="_img/ws1.png" width="placeholder" height="placeholder" /> <header> <h1>workshop 1</h1> </header> <p>lorum ipsum</p> </div> <div class="workshop"> <img name="workshop2" alt="workshop2" src="_img/ws2.png" width="placeholder" height="placeholder" /> <header> <h1>workshop 2</h1> </header> <p>lorum ipsum</p> </div> </div> </div> </div>
what i'm trying now, following:
i want, once hover on circle, text inside, visible , few other things (div workshops-container). how start? can't seem find out how make work.
Comments
Post a Comment