![]() XHost |
Gazduire site-uri web nelimitata ca spatiu si trafic lunar la doar 15 eur / an. Inregistrare domenii .ro .com .net .org .info .biz .com.ro .org.ro la preturi preferentiale. Pentru oferta detaliata accesati site-ul BluePink |
![]() |
![]() |
|||||||||||||||
![]() |
![]() |
|||||||||||||||
![]() |
||||||||||||||||
![]() ![]() ![]() ![]() ![]()
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 |
|||||||||||||||
![]() |
![]() |
|||||||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |