Are there any CSS selectors to apply CSS only on iOS or Android?

I have a theme for all my mobile devices, and would like to have CSS that applies only to Android, and only to iOS because I add bottom margins so the left sidebar is above the rounded corner on my iPhone.

I’m on macOS and I searched around app.css (which you can see via the source tab of the dev tools) a little bit. Then I found some classes like .is-phone, .is-ios, .is-android, .mod-macos, .mod-windows, and .mod-linux.

1 Like

That didn’t occur to me despite having looked at the app.css file a few times lately.

1 Like

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