View Single Post
Old 05-02-2025, 06:21 PM   #24
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by robertmchicago View Post
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!
Turtle91 is offline   Reply With Quote