Skip to content

Commit bb9a93f

Browse files
committed
readme formulation changes
1 parent 3213c35 commit bb9a93f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

100644100755
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ A proof-of-concept event-based CSS element dimension query with valid CSS select
55

66
This means:
77

8-
- High-speed.
9-
- No interval/timeout detection. It's truly event-based.
10-
- No CSS modifications. Valid CSS Syntax.
11-
- All CSS selectors available. It uses the normal attribute selector.
12-
- Support for webkit/gecko/internet explorer.
13-
- `min-width`, `min-height`, `max-width` and `max-height` are yet supported.
14-
- It works for actual all layout modifications: HTML (innerHTML etc), inline styles, DOM mutation, CSS3 transitions, fluid layout changes (parent changes too), pseudo classes (:hover etc), window resizes, etc.
8+
- no performance issues
9+
- no interval/timeout detection. Truly event-based
10+
- no CSS modifications. Valid CSS Syntax
11+
- all CSS selectors available. Uses regular attribute selector
12+
- support for webkit / gecko / IE
13+
- `min-width`, `min-height`, `max-width` and `max-height` are supported so far
14+
- 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
1515

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

@@ -47,7 +47,7 @@ Example
4747
}
4848
```
4949
50-
Include then the javascript file at the bottom and you're good to go. No custom javascript calls needed.
50+
Include the javascript files at the bottom and you're good to go. No custom javascript calls needed.
5151
5252
```html
5353
<script src="src/ResizeSensor.js"></script>
@@ -60,5 +60,5 @@ Info: This is a first very experimental version! You should not use it yet.
6060
Issues
6161
------
6262
63-
- Does not work on `img` tags. A wrapper `div` around it works fine. See the demo.
64-
- Adds in non-internet-explorer browsers a additional hidden element into the selected target element. Forces the target element to be relative or absolute.
63+
- Does not work on `img` tags. Wrapping with a `div` works fine though (See the demo).
64+
- Adds additional hidden element into selected target element in non-internet-explorer browsers and forces target element to be relative or absolute.

0 commit comments

Comments
 (0)