You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a media query against one class and another media query against another class, if the element has both classes, it will only apply the second media query. I've created a JS fiddle to demonstrate:
I have a solution where by instead of passing an id (single class) to the function SetupInformation(element, id), I loop through the element's classes (this.element.classList). I'm unsure what the fallout could be but it seems to work.
The text was updated successfully, but these errors were encountered:
If I have a media query against one class and another media query against another class, if the element has both classes, it will only apply the second media query. I've created a JS fiddle to demonstrate:
https://jsfiddle.net/bambeck/L7fj4qyp/
I have a solution where by instead of passing an id (single class) to the function SetupInformation(element, id), I loop through the element's classes (this.element.classList). I'm unsure what the fallout could be but it seems to work.
The text was updated successfully, but these errors were encountered: