HTML and CSS Reference
In-Depth Information
<div class="four">div four</div>
<div class="five">div five</div>
<div class="six">div six</div>
<div class="seven">div seven</div>
<div class="eight">div eight</div>
The second value is optional. In cases where it is left off, it is assumed to
be
center
.
The CSS3
transform
property, its values, and the
transform-origin
prop-
erty are supported in some form by Safari 3.2+, Chrome 3+, Opera 10.5+,
Firefox 3.5+, and Internet Explorer 9+.
CSS transitions are a way to define parameters for animating changes
to CSS properties on a specified element. Changes to styles can occur
because of updates in element state (
:hover
,
:valid
, and so on), scripted
changes to styles on an element, or other scripted changes to the DOM
structure causing a change in how selectors are applied.
transition-property
transition-property
designates which CSS property or properties are
animated when a change occurs. Animations can occur with most CSS
properties; however, some properties such as
background-image
and
text-decoration
cannot.
■
none
: No properties will be animated (default).
■
all
: All properties that can be animated will be.
■
<property-name>[,
<property-name>]
: A comma-separated list of
one or more properties that can be animated if a change occurs.