Skip to main content

Home/ ntktgwtvsgeelgyqmemn/ Web Design Vancouver
Eliga Hein

Web Design Vancouver - 0 views

Website Design Vancouver Web flash animation websites cross browser support

started by Eliga Hein on 23 May 12
  • Eliga Hein
     
    Web Design Vancouver

    The main mobile platforms permit using of complex UI components on the Web now (excluding only some distinct native facilities of the operating system) and encourage this method.

    /* ie 9 or above*/
    -ms-transform:rotate(360deg) scale(1.3)
    -ms-transform-duration:500ms
    -ms-transform-timing-function: ease-out

    position:relative
    z-index:99
    box-shadow: rgba(,,,.4) 0px 0px 10px
    -moz-box-shadow: rgba(,,,.four) 0px 0px 10px
    -webkit-box-shadow: rgba(,,,.4) 0px 0px 10px


    1st factors very first, we rotate the image although scaling it at the similar time, then we set some duration for these two animations with "transform-duration" and finally we tell the browser which timing function to use.

    Adding some shadow gives the illusion of the pictures to be floating right after the rotation and scaling, a good touch to the animation.

    Please note, mainly because these CSS3 animations are pretty new compared to other characteristics in CSS, every single browser has unique implementations as noticed above, and you need to have to set them all, and of course, this doesn't work with Internet Explorer eight and bellow.

    Hello all, this is m first post, so please be gentle! I recently opened a style business and produced a vow to use the new HTML5 and CCS3 specifications instead of javascript for transitions. I'm fairly glad that I did. Firstly, it will allow a search engine to figure out the content material of your media on a page. Rather of hiding media in javascript, which crawlers do not appear at, you keep them inside basic HTML tags and these are crawlable. And in my opinion, anything that adds to your site's visibility and search engine ranking is a fantastic point. Secondly, it is much a lot more easier to maintain than javascript and flash. As I mentioned earlier, it's straightforward CSS markup, so you can edit this in a text editor in a matter of seconds. Lastly, it adds a really great look to your page, desirable hover effects and text effects. It allows you to have an artsy, "attractive" look with out the search implications.

    Now that we've given the introduction, lets dive a bit into the actually coding. Very first, in the CSS you will need to set up a hover impact on your div id. Right here is a sample

    position: absolute
    prime: 35%
    left: 37.5%
    width: 25%
    height: 25%
    transition: left 1s, best 1s, width 2s, height 2s, box-shadow 2s
    -moz-transition: left 1s, top rated 1s, width 2s, height 2s, box-shadow 2s /* Firefox 4 */
    -webkit-transition: left 1s, best 1s, width 2s, height 2s, box-shadow 2s /* Safari and Chrome */
    -o-transition: left 1s, best 1s, width 2s, height 2s, box-shadow 2s /* Opera */
    box-shadow: 10px 10px 5px #000000
    -webkit-box-shadow: 10px 10px 5px #000000 /* Safari */

    A lot of this is common markup, but you may well or may well not be familiar with the transitions attributes. Transition is the common attribute that tells the browser what attributes are going to be changed. Unfortunately, no significant browser supports this, so you have to add the -moz, -o and -webkit to make it function with Firefox, Opera, Safari and Chrome. So now we have our base div, and here is our hover helpful div

To Top

Start a New Topic » « Back to the ntktgwtvsgeelgyqmemn group