Skip to content

Commit

Permalink
docs: add custom selector contraints
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Aug 2, 2020
1 parent e0c97dd commit 3a5773d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/otion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const className = css({

#### Advanced selectors may be used as an escape hatch from strict atomicity

These should be used sparingly, as selectors are not parsed, but transformed as strings. [Overly specific selectors](https://github.com/kripod/otion/issues/45) void the main advantages of atomicity, so it's best to avoid them.
These should be used sparingly, as selectors are not parsed, but transformed as strings. [Overly specific selectors](https://github.com/kripod/otion/issues/45) void the main advantages of atomicity, so it's best to avoid them. The characters `,` and `&` shall not be part of [attribute selector](https://developer.mozilla.org/docs/Web/CSS/Attribute_selectors) values, otherwise, styling is not guaranteed to work.

```js
const className = css({
Expand Down

0 comments on commit 3a5773d

Please sign in to comment.