Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day (5th Edition)

User interface properties enable customization of cursor appearance, color preferences, font preferences, and dynamic outlines.

cursor

Usage

Specifies the type of cursor that displays for a pointing device.

CSS2 Values

<uri> | auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | inherit

Initial

auto

Applies to

All elements.

Inherited

Yes.

outline

Usage

Shorthand property for setting outline-color, _outline-style, and outline-width.

CSS2 Values

outline-color | outline-style | outline-width | inherit

Initial

See individual properties.

Applies to

All elements.

Inherited

No.

Notes

Similar to border property, creates an outline around visual objects such as buttons, active form fields, image maps, and so on. Using outline property rather than border property does not cause reflow when displaying or suppressing the outline. Outlines also can be nonrectangular.

outline-color

Usage

Specifies the color of the outline.

CSS2 Values

<color> | invert | inherit

Initial

invert

Applies to

All elements.

Inherited

No.

outline-style

Usage

Specifies the style of the outline.

CSS2 Values

Same as <border-style> | inherit

Initial

none

Applies to

All elements.

Inherited

No.

outline-width

Usage

Specifies the width of the outline.

CSS2 Values

Same as <border-width> | inherit

Initial

medium

Applies to

All elements.

Inherited

No.

Категории