|
Full Sheet Sets
In web development, Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. more...
Home
Bedding
Bed Pillows
Bed Skirts
Bed-in-a-Bag
Bedspreads, Coverlets
Blankets
Canopies, Netting
Children's Bedding
Comforters
Decorative Bed Pillows
Duvet Covers
Feather Beds
Foam Mattresses
Inflatable Mattress, Air...
Mattress Pads, Covers
Other Bedding
Pillow Shams
Quilts
Sheets
Fitted Sheets
California King Fitted...
Full Fitted Sheets
King Fitted Sheets
Queen Fitted Sheets
Twin Fitted Sheets
Flat Sheets
Full Flat Sheets
King Flat Sheets
Queen Flat Sheets
Twin Flat Sheets
Pillowcases
King Pillowcases
Other Pillowcases
Standard/Queen Pillowcases
Sheet Sets
California King Sheet Sets
Full Sheet Sets
King Sheet Sets
Queen Sheet Sets
Twin Extra Long Sheet Sets
Twin Sheet Sets
Waterbed Accessories
Furniture
Home Decor
Miscellaneous
Patio & Grilling
Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL.
CSS is used by both the authors and readers of web pages to define colors, fonts, layout, and other aspects of document presentation. It is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation (written in CSS). This separation can improve content accessibility, provide more flexibility and control in the specification of presentational characteristics, and reduce complexity and repetition in the structural content. CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.
The CSS specifications are maintained by the World Wide Web Consortium (W3C). Internet media type (MIME type) text/css is registered for use with CSS by RFC 2318 (March 1998).
Syntax
CSS has a simple syntax, and uses a number of English keywords to specify the names of various style properties.
A style sheet consists of a list of rules. Each rule or rule-set consists of one or more selectors and a declaration block. A declaration-block consists of a list of semicolon-terminated declarations in curly braces. Each declaration itself consists of a property, a colon (:), a value, then a semi-colon (;).
In CSS, selectors are used to declare which elements a style applies to, a kind of match expression. Selectors may apply to all elements of a specific type, or only those elements which match a certain attribute; elements may be matched depending on how they are placed relative to each other in the markup code, or on how they are nested within the document object model.
In addition to these, a set of pseudo-classes can be used to define further behavior. Probably the best-known of these is :hover, which applies a style only when the user 'points to' the visible element, usually by holding the mouse cursor over it. It is appended to a selector as in a:hover or #elementid:hover. Other pseudo-classes and pseudo-elements are, for example, :first-line, :visited or :before. A special pseudo-class is :lang(c), where the style would be applied on an element only if it is in language "c".
Read more at Wikipedia.org
|
|