|
|
#1 |
|
Connoisseur
![]() ![]() Posts: 59
Karma: 100
Join Date: Jun 2020
Device: ePUB Kindle and iBooks
|
CSS media queries to detect apple books
If I want to detect Kindle readers, I can use:
@media amzn-kf8 { /* CSS for KF8 devices */ } or @media amzn-mobi7 { /* CSS for Mobi7 devices */ } Is there an equivalent for Apple Books? THX |
|
|
|
|
|
#2 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,763
Karma: 24088559
Join Date: Dec 2010
Device: Kindle PW2
|
AFAIK, there's no Apple Books equivalent. You can, of course, test for specific Apple devices, for example iPads.
If you want to be absolutely sure, you'll need to use JavaScript to get the value of the epubReadingSystem name property. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Connoisseur
![]() ![]() Posts: 59
Karma: 100
Join Date: Jun 2020
Device: ePUB Kindle and iBooks
|
Thank you!
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| iBooks Author ePub3 Media Queries | mattmc | ePub | 2 | 10-12-2016 06:55 PM |
| Media Queries for images as dropcaps in Kindle DX | verydeepwater | Kindle Formats | 3 | 03-22-2014 06:35 PM |
| Media Queries | eggheadbooks1 | Kindle Formats | 4 | 12-16-2013 03:32 AM |
| Calibre and Media Queries | chrlsdrwn12 | Calibre | 0 | 12-05-2012 12:16 PM |
| Media Queries on Kindle Previewer | AIR-WIZZ | Kindle Developer's Corner | 26 | 10-15-2012 11:10 AM |