CSS 3.0 animation features

Discussion in 'CSS' started by jhonpeter, Jul 28, 2010.

  1. #1
    Hey folks,

    All the time I hear mobiles will replace computer in near future… if it’s true then what the impact of this on our WWW (World Wide Web)? With this curious mindset, I started my search with the basic CSS 3.0 features, to figure out how CSS will be rendered on mobile browsers.
    Animation is the Key feature to retain end users interest so I began my search with the same. I found one nice article about CSS 3.0 animation features. To my surprise the article was targeted for mobile & web (PC) browsers. The code snippet was very useful and led to a smooth animation on my Chrome browser. I hope this will be helpful for all the people who want to learn CSS 3.0 animation and target rapidly growing mobile browser market.

    For your quick view, the whole stuff is here http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?platformId=12&cntsId=7080

    Some of the feature & Properties covered in above article:

    Animation Properties - name, animation-duration, animation-timing-function, animation-iteration-count, animation-direction, animation-play-state, animation-delay using these properties and the values we can easily create transition animation also we can control those transitions.

    Some transform properties are listed below;

    Property Description
    matrix - Allows you to specify a 2D transformation in a matrix of six values
    translate - A 2D translation along a matrix of X and Y values
    translateX - A 2D translation along an X direction
    translateY - A 2D translation along an Y direction
    scale - Scale the property up and out by defining X and Y values
    scaleX - Scale the property up by defining X value
    scaleY - Scale the property out by defining Y values
    rotate - Rotate a property by degrees
    skewX - Skew a property along X values
    skewY - Skew a property along Y values


    You can find some CSS snippets as well in above mentioned link.

    Try it! Have a fun.
     
    jhonpeter, Jul 28, 2010 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    I heard we'll all be traveling and living on Mars, too, but that's not going to happen anytime soon either. Mobile phones don't have the power to run all those animations and if you're going to slow them down with such things, no one will come back to your site.
     
    drhowarddrfine, Jul 28, 2010 IP