Skip to content

Commit

Permalink
feat(css): correct ray() syntax + add ray-size type (#723)
Browse files Browse the repository at this point in the history
feat: correct ray() syntax and add ray-size type
  • Loading branch information
pyoor committed May 21, 2024
1 parent db70ff5 commit 311ca78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion css/syntaxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,10 @@
"syntax": "<number [0,∞]> [ / <number [0,∞]> ]?"
},
"ray()": {
"syntax": "{ <angle> && [closest-side | closest-corner | farthest-side | farthest-corner | sides] && contain? && [at [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right ] && [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ]]"
"syntax": "ray( <angle> && <ray-size>? && contain? && [at <position>]? )"
},
"ray-size": {
"syntax": "closest-side | closest-corner | farthest-side | farthest-corner | sides"
},
"relative-selector": {
"syntax": "<combinator>? <complex-selector>"
Expand Down

0 comments on commit 311ca78

Please sign in to comment.