We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0adc7ef commit aef2feeCopy full SHA for aef2fee
1 file changed
docs/snake.md
@@ -47,31 +47,21 @@ The `.s(key, value)` method allows you to do nesting.
47
48
```js
49
nano.s.s(':hover'. nano.s.bgWhite)
50
+// {
51
+// ':hover': {
52
+// backgroundColor: '#fff'
53
+// }
54
55
```
56
-Result:
-
-```js
-{
- ':hover': {
57
- backgroundColor: '#fff'
58
- }
59
-}
60
-```
61
62
-`.s(obj)` can also accept an object.
63
64
65
-nano.s.u.s({color: 'red'}).obj
66
67
68
+`.s` can also accept an object.
69
70
71
72
- textDecoration: 'underline',
73
- color: 'red'
74
+nano.s.u.s({color: 'red'})
+// textDecoration: 'underline',
+// color: 'red'
75
76
77
There are also built in `.hover()` and `.focus()` pseudo-selectors.
0 commit comments