We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55500ff commit 2124961Copy full SHA for 2124961
README.md
@@ -48,6 +48,11 @@ More demos and information: http://marcj.github.io/css-element-queries/
48
}
49
```
50
51
+As you can see we use the `~=` [attribute selector](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors).
52
+Since this css-element-queries polyfill adds new element attributes on the DOM element
53
+(`<div class="widget-name" min-width="400px 700px"></div>`) depending on your actual CSS,
54
+you should always use this attribute selector (especially if you have several element query rules on the same element).
55
+
56
```html
57
<div class="widget-name">
58
<h2>Element responsiveness FTW!</h2>
0 commit comments