HTML and CSS Reference
In-Depth Information
Attribute
Description
outline-width: length
Defines the width of the outline, where length is expressed in a
CSS unit of length
Printing
Styles for printed output
fit: type
Indicates how to scale an element to fit on the page, where type
is fill, hidden, meet, or slice (CSS3)
fit-position: vertical
horizontal
Sets the position of the element in the page, where vertical is
top, center, or bottom; horizontal is left or right; or either or both
positions are auto, a value , or a percentage (CSS3)
page: label
Specifies the page design to apply, where label is a page design
created with the @page rule
page-break-after: type
Defines how to control page breaks after the element, where type
is avoid (to avoid page breaks), left (to insert a page break until
a left page is displayed), right (to insert a page break until a right
page is displayed), always (to always insert a page break), auto,
or inherit
page-break-before: type
Defines how to control page breaks before the element, where
type is avoid left, always, auto, or inherit
page-break-inside: type
Defines how to control page breaks within the element, where
type is avoid, auto, or inherit
marks: type
Defines how to display crop marks, where type is crop, cross,
none, or inherit
Defines the size of the page, where width and height are the
width and the height of the page and orientation is the orientation of
the page (portrait or landscape)
size: width height
orientation
orphans: value
Defines how to handle orphaned text, where value is the number of
lines that must appear within the element before a page break is
inserted
widows: value
Defines how to handle widowed text, where value is the number
of lines that must appear within the element after a page break
is inserted
Special Effects
Styles to create special visual effects
animation: name duration
timing delay iteration
direction
Applies an animation with the specified duration , timing , delay ,
iteration , and direction (CSS3)
animation-delay: time
Specifies the animation delay time in milliseconds (CSS3)
animation-direction:
direction
Specifies the animation direction, where direction is normal or
alternate (CSS3)
animation-duration: time
Specifies the duration of the animation time in milliseconds (CSS3)
animation-iteration-count:
value
Specifies the number of iterations in the animation (CSS3)
animation-name: text Provides a name for the animation (CSS3)
animation-play-state: type Specifies the playing state of the animation, where type is run-
ning or paused
animation-timing-function:
function
Provides the timing function of the animation, where function is
ease, linear, ease-in, ease-out, ease-in-out, cubic-Bezier, or a
number (CSS3)
backface-visibility:
visible
Specifies whether the back side of an element is visible during a
transformation, where visible is hidden or visible (CSS3)
Search WWH ::




Custom Search