soaringeagle did a a nice zoom effect with photo's for me some time ago which has been very popular as i see it on a lot of networks. Great work Se :-)
I have added A border which gives your photo a more polished look with the zoom, and as i'm running a 3 column site there is 1 column always on the right and the photo would zoom strait out so i added 70px translate which you can remove if it does not suit your site, but on mine.. this keeps the photo in the centre of the web page. The shadow is a nice effect and adds a little more depth to the photo,
I've left the 1.65 values in just incase you do not need the translate values.
Remember you can always test in your Test Site. And variables can be changed
I have attached 2 files, 1 showing the border and 1 showing the shadow effect,
my site is quite dark but on a lighter coloured site the shadow would stand out great.
Enjoy :-)
a.next_photo_link img:hover {transform:scale(1.65);-ms-transform:scale(1.65);-o-transform:scale(1.65);-webkit-transform:scale(1.65);-moz-transform:scale(1.65);-webkit-transition:all .5s ease-out;-moz-transition:all .5s ease-out;transition:all .5s ease-out;-ms-transition:all .5s ease-out;-o-transition:all .5s ease-out;
-moz-box-shadow: 1px 27px 47px #000000;
-webkit-box-shadow: 1px 27px 47px #000000;
box-shadow: 1px 27px 47px #000000;
transform: rotate(0deg) scale(1.593) skew(0deg) translate(70px);
-webkit-transform: rotate(0deg) scale(1.593) skew(0deg) translate(70px);
-moz-transform: rotate(0deg) scale(1.593) skew(0deg) translate(70px);
-o-transform: rotate(0deg) scale(1.593) skew(0deg) translate(70px);
-ms-transform: rotate(0deg) scale(1.593) skew(0deg) translate(70px);
border:ridge 10px #666366;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright:10px;
-moz-border-radius-bottomleft:10px;
-moz-border-radius-bottomright:10px;
-webkit-border-top-left-radius:10px;
-webkit-border-top-right-radius:10px;
-webkit-border-bottom-left-radius:10px;
-webkit-border-bottom-right-radius:10px;
border-top-left-radius:10px;
border-top-right-radius:10px;
border-bottom-left-radius:10px;
border-bottom-right-radius:10px;
}
Tags: BORDER, EFFECT, PHOTO, SHADOW, ZOOM
- Attachments:
-
-
▶ Reply to This