These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:11 pm Advanced search

iPhone-like page transitions in HTML5

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

iPhone-like page transitions in HTML5

Postby DaveC426913 » Wed May 12, 2010 7:55 pm

Can I mimic iPhone page transitions using HTML5/CSS3? (This is for a stand alone app, not a website, so don't worry about usability/accessibility).

I see a lot of chatter about transitions at the element-level, can I make transitions at the page level?

Or do I have to put all my content on a single page and then use div blocks to transition between them - in essence, faking webpages?
DaveC426913
<h6>
 
Posts: 2
Joined: Mon May 10, 2010 1:06 pm

Postby JAB Creations » Wed May 12, 2010 10:39 pm

WebKit / Safari 3.1+

Code: Select all
* {-webkit-transition-property: background-color, background-image, border, color, opacity; -webkit-transition-duration: 0.8s;}


Presto 2.5 / Opera 10.5+

Code: Select all
* {-o-transition-property: background-color, background-image, border, color, opacity; -o-transition-duration: 0.8s;}


Gecko 1.9.3 / Firefox 3.7+

Code: Select all
* {-moz-transition-property: background-color, background-image, border, color, opacity; -moz-transition-duration: 0.8s;}
User avatar
JAB Creations
<aside>
 
Posts: 566
Joined: Tue Mar 13, 2007 4:48 am
Location: Sarasota Florida, USA


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests