My stylesheet currently uses a fixed background image which works great in all browsers except IE. How do I disable the fixed background ONLY in Internet Explorer Edge? The more specific, the better as I have no idea how the @supports work.
Asked
Active
Viewed 378 times
-1
-
I should add that I want to change **background-attachment: fixed** to **background-attachment: scroll** in IE Edge only. – rosebean Mar 09 '17 at 00:55
-
Possible duplicate of [How to target only IE (any version) within a stylesheet?](http://stackoverflow.com/questions/28417056/how-to-target-only-ie-any-version-within-a-stylesheet) – Obsidian Age Mar 09 '17 at 01:07
1 Answers
2
See the answer here for targetting IE edge: https://stackoverflow.com/a/32202953.
@supports (-ms-ime-align:auto) {
.selector {
property: value;
}
}