A different css for a different platform

just an idea for the future, a diffent css for each different mobile , tablet, computer … https://github.com/scottsweb/mobble

We wouldn’t want to use this, is it doesn’t work properly if caching is enabled. From the readme:

Please note that in certain setups caching will cause undesired behaviour. If your cache is set too aggressively PHP will be skipped and the device detection will not work.

Caching is an important part of running Pressbooks at scale. Progressive enhancement with feature detection and responsive design are the best tools to handle differences between platforms.

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.