First Page Last Page
UserName:
Replies: 94 - Views: 489
-1514131211sonunigam (Love Geek):
Syntax
CSS has a simple syntax and uses a number of English keywords to specify the names of various style properties. *
04-01-11 - 00:15:21
-1514131211sonunigam (Love Geek): A style sheet consists of a list of rules. Each rule 0r rule-set consists of one 0r more selectors and a declaration block. A declaration-block consists of a list of declarations in braces. Each declaration itself consists of a property, a colon {:}, a value, then a semi-colon {;}. *
04-01-11 - 00:16:38
-1514131211sonunigam (Love Geek): In CSS, selectors are used to declare which of the markup elements a style applies to, a kind of match expression. Selectors may apply to all elements of a specific type, 0r only those elements that match a certain attribute; elements may be matched depending on how they are placed relative to each other in the markup code, 0r on how they are nested within the document object model. *
04-01-11 - 00:18:53
-1514131211sonunigam (Love Geek): Pseudo-classes are another form of specification used in CSS to identify markup elements, and in some cases, specific user actions to which a particular declaration block applies. An often-used example is the :hover pseudo-class that applies a style only when the user 'points to' the visible element, usually by holding the mouse cursor over it. *
04-01-11 - 00:21:25
-1514131211sonunigam (Love Geek): It is appended to a selector as in a:hover 0r #elementid:hover. Other pseudo-classes and pseudo-elements are, for example, :first-line, :visited 0r :before. A special pseudo-class is :lang(c), "c". *
04-01-11 - 00:27:38




«PREV Next»
3/19
Jump to page

Text:
Home>Forums>Technology rules
>Web/Wap>CSS