Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-17-2012, 02:46 AM   PM User | #1
cssmaker
New Coder

 
Join Date: Jan 2012
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
cssmaker is an unknown quantity at this point
Exclamation what program can you use to make a photo transition like this site

This is kind of a css question but what program could have been used to make the photos appear like this on this website:
http://85856021.nhd.weebly.com/
cssmaker is offline   Reply With Quote
Old 09-17-2012, 03:35 AM   PM User | #2
Sammy12
Registered User

 
Join Date: Jun 2011
Posts: 1,063
Thanks: 12
Thanked 241 Times in 240 Posts
Sammy12 is on a distinguished road
That website is using flash, which is a very old way of doing simple animations.

You don't need a program, flash, or jQuery now, you can use CSS animations.

Code:
@-webkit-keyframes fade {
    0%   { zoom: 0; }
    100% { zoom: 1; }
}
@-moz-keyframes fade {
    0%   { zoom: 0; }
    100% { zoom: 1; }
}
@-o-keyframes fade {
    0%   { zoom: 0; }
    100% { zoom: 1; }
}
@keyframes fade {
    0%   { zoom: 0; }
    100% { zoom: 1; }
}

.photo {
    zoom: 0;
    -webkit-animation: fade 5s;
       -moz-animation: fade 5s;
         -o-animation: fade 5s;
            animation: fade 5s;
}
Just fiddle around with this and you should get it to go.

EDIT: I forgot to put "fade" in the keyframes, fixed.

Last edited by Sammy12; 09-17-2012 at 04:03 AM..
Sammy12 is offline   Reply With Quote
Users who have thanked Sammy12 for this post:
cssmaker (09-17-2012)
Old 09-17-2012, 03:51 AM   PM User | #3
cssmaker
New Coder

 
Join Date: Jan 2012
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
cssmaker is an unknown quantity at this point
Thanks will try
cssmaker is offline   Reply With Quote
Old 09-17-2012, 02:00 PM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,615
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Quote:
Originally Posted by Sammy12 View Post
You don't need a program, flash, or jQuery now, you can use CSS animations.
OK, and now tell me how users of IE 8 and other browsers that aren’t the latest cutting edge version get to enjoy this.

My philosophy is to help others help themselves. And it’s not good to tell newbies to use experimental features as if it was completely safe and reliable to use them. At least they should be warned (and cssmaker, consider yourself warned) that these are experimental and not ready for real-life applications.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 09-17-2012, 07:45 PM   PM User | #5
Sammy12
Registered User

 
Join Date: Jun 2011
Posts: 1,063
Thanks: 12
Thanked 241 Times in 240 Posts
Sammy12 is on a distinguished road
Quote:
Originally Posted by VIPStephan View Post
OK, and now tell me how users of IE 8 and other browsers that aren’t the latest cutting edge version get to enjoy this.

My philosophy is to help others help themselves. And it’s not good to tell newbies to use experimental features as if it was completely safe and reliable to use them. At least they should be warned (and cssmaker, consider yourself warned) that these are experimental and not ready for real-life applications.
Well the main thing is that the fade in is presentational and is not a vital part of the page.

He posted this in the CSS forum and I'd rather not go into jQuery as he's probably not interested in learning that right now.

I linked him to an article that shows the browser support, and quite honestly I think it best he go down a CSS animation road right now.
Sammy12 is offline   Reply With Quote
Reply

Bookmarks

Tags
css, general, program

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:27 PM.


Advertisement
Log in to turn off these ads.