Difference between revisions of "Pseudo-element (CSS)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (Created page with "In Cascading Style Sheets, '''pseudo-elements''' are style rules that affect certain parts of a web page. == Description == Pseudo-elements are added to the browser'...") |
Karl Jones (Talk | contribs) (→See also) |
||
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
== Pseudo-class == | == Pseudo-class == | ||
− | Compare [[Pseudo-class (CSS)]]. | + | Compare [[Pseudo-class (CSS)|Pseudo-classes]]. |
== See also == | == See also == | ||
Line 22: | Line 22: | ||
* [[Cascading Style Sheets]] | * [[Cascading Style Sheets]] | ||
* [[Pseudo-class (CSS)]] | * [[Pseudo-class (CSS)]] | ||
+ | |||
+ | [[Category:Cascading Style Sheets]] | ||
+ | [[Category:Web design and development]] |
Latest revision as of 09:01, 18 April 2016
In Cascading Style Sheets, pseudo-elements are style rules that affect certain parts of a web page.
Contents
Description
Pseudo-elements are added to the browser's Document Object Model (DOM).
Pseudo-elements really are elements in the web page, because the DOM is the browser's internal representation of all the CSS rules it has processed.
Example
- Style the first letter, or line, of an element
- Insert content before, or after, the content of an element
Pseudo-class
Compare Pseudo-classes.