CSS - Basic: Understanding CSS SelectorsTag: css, css selector Category: CSSpost: 24 Jan 2008 read: 498 CSS Step By Step Tutorial: Every CSS Style definition has two components: - A list of one or more element (elements) which style will be applied. We called Selectors- The declaration block specifies what the style actually does.
Type SelectorsClass Selectors
ID Selectors
Descendent Selectors
Child Selectors
This style above will not apply at "subcontent" class, because we use >. Pseudo-Class Selectors
|
| | Give Your Opinion | Recommend |
|







