Skip to content

Commit f20f5e5

Browse files
committed
Update documentation
- simplify the description of Element Queries - simplify the description of this repository - simplify the case for Element Queries
1 parent cd2689b commit f20f5e5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Element query demos
22

3-
Element queries are a yet-proposed CSS module that allow developers to style elements based on their size and shape.
3+
*As yet unproposed*, the Element Queries CSS module allows developers to style elements based on their size and shape.
44

5-
This repository catalogs various Element query proposals realized through various JavaScript libraries.
5+
This repository catalogs Element Query implementations realized through JavaScript.
66

77
## Why
88

9-
Element queries are the natural and much-needed evolution of Media queries. Where Media Queries care about the size of the *screen*, Element Queries care about the size of the *thing*. As a result, element queries allow content to adapt to a wide range of viewing experiences without having to change the content itself, as well as reduce the complexity of stylesheets by removing the need to specify all of the possible layout configuration between the screen and an element.
9+
Element Queries are the natural and much-needed evolution of Media Queries.
10+
Where Media Queries cared about the size of the *screen*, Element Queries care about the size of the *thing*.
11+
As a result, Element Queries allow content to adapt to a wide range of viewing experiences without having to change the content itself.
12+
They also simplify stylesheets by removing the need to specify layout conditions between the screen and the element being styled.

0 commit comments

Comments
 (0)