My mobile hybrid application is built with Sencha Touch 2 and requires some customization based on the iOS version it's running on.
In my Sass stylesheet, I originally had the following selector:
.x-ios-7 {
/* add iOS7 customizations here */
}
However, with the update to iOS8, the framework now adds a x-ios-8
class instead of x-ios-7
, causing the customizations to break.
Is there a way to target all classes with x-ios-{i}
where {i}
is greater than or equal to 7?
[EDIT]
I am using Sass and want a solution that does not involve hardcoding specific cases.