View Single Post
Old 05-04-2014, 11:09 AM   #9
odedta
Addict
odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.
 
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
Quote:
Originally Posted by Toxaris View Post
Mostly things that is for text-to-speech and things like that. Also several pseudo-classes and pseudo-elements are not supported like hover. However, most readers do not support pseudo-elements anyway. In general you can say that the more complex the CSS will be, the less chance there is it will be supported at this time.
In paragraph 3.3 of the link I sent you can see what the default values are. There you can also see for example that the default value for the auto margin is 0.
The list of pseudo elements:
Code:
Selector	Example	Example description
:link	a:link	Selects all unvisited links
:visited	a:visited	Selects all visited links
:active	a:active	Selects the active link
:hover	a:hover	Selects links on mouse over
:focus	input:focus	Selects the input element which has focus
::first-letter	p::first-letter	Selects the first letter of every <p> element
::first-line	p::first-line	Selects the first line of every <p> element
:first-child	p:first-child	Selects every <p> elements that is the first child of its parent
::before	p::before	Insert content before every <p> element
::after	p::after	Insert content after every <p> element
:lang(language)	p:lang(it)	Selects every <p> element with a lang attribute value starting with "it"
Personally I have never used any of those elements besides hyper links and a:visited and a:visited are supported, other elements are irrelevant if you don't use javascript.
odedta is offline   Reply With Quote