dave h requested this tip  its a simple zoom transition when yiu hover over a photo without clicking full size

a.next_photo_link img:hover {transform:scale(1.20);-ms-transform:scale(1.20);-o-transform:scale(1.20);-webkit-transform:scale(1.20);-moz-transform:scale(1.20);-webkit-transition:all 1s ease-out;-moz-transition:all 1s ease-out;transition:all 1s ease-out;-ms-transition:all 1s ease-out;-o-transition:all 1s ease-out;}

its only a 20% zoom  but for larger pics any more then that  would be too much i think

to adjust the finished zoom level adjust the scale:1.20 (meaning 120% or 20% above normal)

u can slow or speed up the transition by changing the 1s tip you can use decimals like 3.5s or even ms like 10ms for a very fast transition

(note for newbies to css the -webkit- etc prefixes  are used to increae browser compatability so if you adjust 1 adjust all  so the experience is the same no matter what browser)

Views: 793

Reply to This

Replies to This Discussion

dang...

haha..umm ..that means u like it? haha

Yes and thanks very much soaringeagle for your help, It'sa work of art :-)

was nothing i mean u saw it took me less then a minute or 2 to throw it together for you

Do you place that code into the custom code box or the appearance section?

appearance css

When you use vendor prefixes, I believe it is best practice to list the prefixes first, and the standard declaration (without prefix) last. I believe Dan Cederholm mentions it in CSS3 for Web Designers but I can't recall where. But basically, it is to future-proof your code for browsers which will eventually drop the vendor prefixes and use the standard...... or something like that.

In other words...

Change this:
transform:scale(1.20);
-ms-transform:scale(1.20);
-o-transform:scale(1.20);
-webkit-transform:scale(1.20);
-moz-transform:scale(1.20);
-webkit-transition:all 1s ease-out;
-moz-transition:all 1s ease-out;
transition:all 1s ease-out;
-ms-transition:all 1s ease-out;
-o-transition:all 1s ease-out;

To this:
-ms-transform:scale(1.20);
-o-transform:scale(1.20);
-webkit-transform:scale(1.20);
-moz-transform:scale(1.20);
transform:scale(1.20);
-webkit-transition:all 1s ease-out;
-moz-transition:all 1s ease-out;
-ms-transition:all 1s ease-out;
-o-transition:all 1s ease-out;
transition:all 1s ease-out;

hmm interesting  ill keep that in mind

does anyone have an example? 

i would like to see it first :) 

i know... I meant I want to see a site implementing this code...

I would like to see how it looks :)

 I'm using this code you can check it out here

http://friendlyfaces.ning.com/photo/419210-383033358379815-10000019...

RSS

Latest Activity


NC for Hire
SweetPotato replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Sorry, that was for Kos, not you Diane, although she might have been talking to you and not me, in…"
25 minutes ago
caro replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"c'est du beau travail mais j'ai tout ce qui me faut sur mon ning2 plus que le 3 je…"
32 minutes ago
John Bizley replied to John Bizley's discussion 'I have a Question about the Social Channels ( youtube, vimeo )' in the group The Sandbox
"Thanks James, hmm all seems to be working on my end in both ie and firefox. Try again and let me…"
54 minutes ago
Writer Chick {Diane} replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Oh, I wasn't even referring to my site. I don't care what people think about how my site…"
1 hour ago

NC for Hire
SweetPotato replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"I don't think I was critiquing your site. Not even looked at it to tell the truth. Eye of the…"
3 hours ago

NC for Hire
SweetPotato replied to Elshara Silverheart's discussion 'Another Feature Request For Ning 3.0'
"I hope paid access Ida bit more fleshed out them the previous iteration. Supporting multiple…"
3 hours ago
Elshara Silverheart replied to Elshara Silverheart's discussion 'Another Feature Request For Ning 3.0'
"You know what, I figured this was in the making along with several other developments. Pricing is…"
3 hours ago
Profile IconNora Roste, Marisa, Cigdem Kobu and 4 more joined Creators
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service