Sample style sheet for (X)HTML - CSS3 Examples

Sample style sheet for (X)HTML

Written by jon on 11:24 AM

This appendix is informative, not normative. This style sheet could be used by an implementation as part of its default styling of HTML4, XHTML1, XHTML1.1, XHTML Basic, and other XHTML Family documents.

html {
color: black;
background: white;
color-profile: sRGB;
rendering-intent: auto
}

body[text] {
color: attr(text,color};
}

body[bgcolor],table[bgcolor],tr[bgcolor],td[bgcolor],th[bgcolor] {
background-color: attr(bgcolor,color);
}

font[color] {
color: attr(color,color);
}

/* traditional desktop user agent colors for hyperlinks */
:link { color: blue; }
:visited { color: purple; }

img,object {
color-profile: auto;
rendering-intent: auto
}

/* default focus outline */
:focus {
outline: 1px dotted gray;
outline: 1px solid flavor;
}

Related Posts by Categories



Widget by John | Interviewghost
  1. 0 comments: Responses to “ Sample style sheet for (X)HTML ”

RECENT COMMENTS

SUBSCRIBE TO CSS3 EXAMPLES

 Subscribe to css3 Examples via RSS
Or, subscribe via email:
Find CSS3 Examples Entries :