|
Pe HaiSaRadem.ro vei gasi bancuri, glume, imagini, video, fun, bancuri online, bancuri tari, imagini haioase, videoclipuri haioase, distractie online. Nu ne crede pe cuvant, intra pe HaiSaRadem.ro ca sa te convingi. |
| |
|
|||||||||||||||
| |
![]() |
|||||||||||||||
| |
||||||||||||||||
![]()
HOME | ||||||||||||||||
| |
|
|||||||||||||||
![]() |
||||||||||||||||
| |
||||||||||||||||
![]() |
![]() |
Lessons |
CSS Pseudo-classesCSS pseudo-classes are used to add special effects to some selectors. SyntaxThe syntax of pseudo-classes: selector:pseudo-class { property:value; } CSS classes can also be used with pseudo-classes: selector.class:pseudo-class { property:value; } Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!! a:active MUST come after a:hover in the CSS definition in order to be effective!! Pseudo-class names are not case-sensitive. Pseudo-classes and CSS ClassesPseudo-classes can be combined with CSS classes: CSS - The :first-child Pseudo-classThe :first-child pseudo-class matches a specified element that is the first child of another element. Note: For :first-child to work in IE8 and earlier, a <!DOCTYPE> must be declared. CSS - The :lang Pseudo-classThe :lang pseudo-class allows you to define special rules for different languages. Note: IE8 supports the :lang pseudo-class only if a <!DOCTYPE> is specified. css anchor/link pseudo-classesYou may not know it, but a link has four different states that it can be in. CSS allows you to customize each state. Please refer to the following keywords that each correspond to one specific state:
Using CSS you can make a different look for each one of these states, but at the end of this lesson we will suggest a good practice for CSS Links.
Biblography |
|||||||||||||
IntroductionSyntax and selectorBackgroundText styleListBox modelFloatingCombinatorsPseudo classesPseudo element |
||||||||||||||||
![]() |
||||||||||||||||
![]() |
![]() |
|||||||||||||||
| |
||||||||||||||||
| |
Copyright 2014 Florin Bacu | All Rights Reserved |
|||||||||||||||
| |
|
|||||||||||||||
| |
|
|
|
|
|
|
|
|
|
|
|
|
||||