Skip to content

Commit 9ceab92

Browse files
author
Federico Zivolo
committed
more docs
1 parent 6fc21ae commit 9ceab92

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,13 @@ And if you need some more power, you can invert the behavior of a selector:
4646
4747
The `queries` property is an object with a list of properties of your choice,
4848
you can name them how you prefer, for instance, you could have `sm` or `small` or
49-
`verySmallMatcher`.
50-
Each property contains an object with one or more expressions..
49+
`verySmallMatcher`:
50+
51+
- `{ sm: { maxWidth: 10 } }`
52+
- `{ small: { maxWidth: 100, minWidth: 20 } }`
53+
- `{ verySmallMatcher: { maxWidth: 10, minHeight: 30 } }`
54+
55+
Each property contains an object with one or more expressions.
5156
5257
So far, the supported expressions are: `maxWidth`, `minWidth`, `maxHeight` and
5358
`minHeight`.

0 commit comments

Comments
 (0)