Find us on twitterLike us on facebook
View Portfolio

PHP Library

Support Us

CSS Library

CSS transition Property & Effects Examples. CSS transition Property & Effects Examples.

CSS transition Property & Effects Examples.With CSS Transitions, we can add an effect when changing from one style to another, without using Flash animations or JavaScripts. CSS transitions allows you to change property values smoothly, over a given duration. Mouse over the element below to see a CSS transition effect. Devsocial.net offers free online tutorials, references and free SEO Tools the world wide web design library.

info The Transition property is used as follows Example Below. Hover on top of this Div:

Leave the mouse on top of Div.

<style>
.divnamehere
{
width:100px;
height:100px;
background:green;
transition-property:width;
transition-duration:1s;
transition-timing-function:linear;
transition-delay:1s;
/* Safari */
-webkit-transition-property:width;
-webkit-transition-duration:1s;
-webkit-transition-timing-function:linear;
-webkit-transition-delay:1s;
padding-top:20px;
font-size:20px;
color:#fff;
}
.divnamehere:hover
{ width:500px; }
</style>

CSS Transitions Properties

Property Description CSS
Transition A shorthand property for setting the four transition properties into a single property 3
Transition-Property Specifies the name of the CSS property to which the transition is applied 3
Transition-Duration Defines the length of time that a transition takes. Default 0 3
Transition-Timing-Function Describes how the speed during a transition will be calculated. Default "ease" 3
Transition-Delay Defines when the transition will start. Default 0 3

DEMOS: More Examples below. with :hover function.

linear
ease
ease-in
ease-out
ease-in-out

The CSS & HTML *Please Note that our credits or the authors credit must stay intact !

Rating:

Capable: broswers

Date Posted: 2/5/2023

info Note: Make sure your page contains a valid doctype for this menu to render properly.

info Revision History: Nov 8th, 2023': updated code..

info Usage Terms: | Please Read - -> >

Viewed: 42,035

info Share our library with others. Spread the love. Share: share on facebook

Was this article & Examples Helpful ?
If so you can help us bring this and more to become available for you at anytime. You can help us by donating any amount or Sharing & Following Us. Donate through PayPal.

info More useful links:

Buy Ready made Web Apps  Buy Ready made Web Apps


Website Ranking Tools

classifieds24.net classifieds24.info classifieds24.org nywds.com https://www.globalclassifieds.org/ domainpaid.net devsocial.net paystopost.com paystopost.org https://www.101now.com https://www.newyorkconstructionco.com paystopost.org https://www.hirepros.org https://www.hirepros.info
EST: 2012 | © 2025 Devsocial.net | All Rights Reserved. [ + ][ y ]
SHARE:

Facebook

Twitter