Skip to content

Commit fdaa7fb

Browse files
committed
Update README.md
1 parent 827a8ac commit fdaa7fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ CommentBlock:
242242
Rule:
243243
property: string
244244
value: string | string[] | FunctionRule
245+
values: object[] # ex.: "10px" => [{value: 10, unit: "PIXELS"}]
245246
prop: string # alias to `property`
246247
isImportant: boolean
247248
```
@@ -310,7 +311,7 @@ QuerieRule:
310311
```yml
311312
Selector:
312313
name: string
313-
type: 'UniversalSelector' | 'IDSelector' | 'ClassSelector' | 'AttrSelector' | 'PseudoSelector' | 'TagSelector'
314+
type: 'UniversalSelector' | 'IDSelector' | 'ClassSelector' | 'AttrSelector' | 'PseudoSelector' | 'HTMLSelector'
314315
hasCombiner: boolean
315316
pseudo?: Pseudo # has if `hasCombiner` is `false`
316317
selectors?: Selector[] # has if `hasCombiner` is `true`
@@ -321,6 +322,7 @@ Selector:
321322
Selector:
322323
name: string
323324
type: 'PseudoClass' | 'PseudoElement' | 'PseudoEvent'
325+
value?: string # has if pseudo contains parameters
324326
```
325327
_the type **PseudoEvent** is a custom support of CSSObject not has on CSS language_
326328

0 commit comments

Comments
 (0)