Skip to content

Commit 2823a1c

Browse files
author
marcj
committed
adjusted readme
1 parent 4c25b48 commit 2823a1c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
CSS Element Queries
22
===================
33

4-
A proof-of-concept event-based CSS element dimension query with valid CSS selector syntax.
4+
Forget Media Queries - Here Is Element Queries!
55

6-
This means:
6+
This is a polyfill for all new browsers (incl. IE8!) for CSS Element Queries, which
7+
means you can depend in your CSS on element's size and not only on window's size like in classical media queries.
8+
9+
So, it's proof-of-concept event-based CSS element dimension query with valid CSS selector syntax.
10+
11+
Features:
712

813
- no performance issues
914
- no interval/timeout detection. Truly event-based
@@ -12,6 +17,7 @@ This means:
1217
- support and tested in webkit, gecko and internet explorer(8/9/10).
1318
- `min-width`, `min-height`, `max-width` and `max-height` are supported so far
1419
- works with any layout modifications: HTML (innerHTML etc), inline styles, DOM mutation, CSS3 transitions, fluid layout changes (also percent changes), pseudo classes (:hover etc.), window resizes and more
20+
- no Javascript-Framework dependency, so works with jQuery, Mootools, etc.
1521

1622
More demos and information here: http://marcj.github.io/css-element-queries/
1723

0 commit comments

Comments
 (0)