View Single Post
Old 05-04-2014, 12:14 PM   #10
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,738
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Toxaris View Post
Also several pseudo-classes and pseudo-elements are not supported like hover. However, most readers do not support pseudo-elements anyway.
That only applies to ADE-based ePub2 readers, current Kindle devices and apps and Apple devices already support most pseudo elements/classes, and since the next generation of ePub3 ebook readers will most likely support pseudo elements/classes, it couldn't hurt to look into the possibilities that these pseudo elements/classes provide.

Quote:
Originally Posted by odedta View Post
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.
You don't have to use Javascript with pseudo elements/classes. You can also use them, for example, to automatically format the first letter of a chapter as a drop cap or insert fleurons before the beginning or after the end of each chapter. You can find some very simple examples in this old post. (The example .ePub works with current Kindles and iBooks; all red elements have been automatically formatted/inserted.)
Doitsu is offline   Reply With Quote