Platform Version Specific CSS

Is there a CSS tag on Ionic2 that will determine if the device version that I will apply style with is Lollipop and above for Android (with the emphasis on anticipating later versions)? Kinda like the CSS tag below for Ionic1?

.platform-android5_0

It should still be the same

For example, iOS 10.2

.platform-ios10{}

/* for minor versions */
.platform-ios10_2{}
1 Like

Deosn’t work on variables.scss. The tag

.md

works fine though. But I still need css handling for version specificity.

I had it working from the link below:

We can already close this. Thanks.