Quote:
Originally Posted by Toxaris
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
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.)