Quote:
Originally Posted by robertmchicago
I heard that things like vw, vh, and SVG wrapping are mostly used by Apple. Other platforms like KDP, Kobo, and Nook don’t support them very well.
|
<philosophy>
You always need to check that your target devices support the coding you use.
I'm pretty sure someone will jump on here and say to NEVER use anything but CSS2 because their old device, based on old standards, doesn't support the new capabilities. That concern is partly true. You should always test on the devices in your target market. However, there are methods of coding that will use the new CSS on devices that support it, and 'fall back' to the older CSS if it doesn't support it.
vw and vh are part of the current CSS that is seeing more and more support....it's OK to use them as long as you provide fallback. eg. {width:100%; width:100vw}
I am not aware of a device that doesn't support SVG wrappers unless it is really old (like maybe mobipocket). It's up to you if you want to lose the .02 cents and not serve that market to make all the rest of the books look nice.
I'm pretty sure the Kobo will support the new CSS if it is loaded as a kepub...if you try and load it as an epub it uses a really old rendering engine that doesn't support much of anything...
In general, the newer devices that are being actively maintained by the manufacturer will support the new CSS...
</philosophy>
As always...it's up to you to decide what you want to do.
Cheers!