Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in concepts.mdx #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ One of the primary benefits of CSS in JS is that it keeps styles encapsulated wi

**Styletron doesn't support [simple selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors#Simple_selectors) and [combinators](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors#Combinators). You can still use [pseudo-classes](https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes) and [pseudo-elements](https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements).**

CSS is a powerful language and **many complex selectors and combinators just don't fit into CSS in JS model well**. There are definitely valid cases when things like descedant combinators can be used, and we have been exploring a [possible API](https://github.com/styletron/styletron/issues/229) for that.
CSS is a powerful language and **many complex selectors and combinators just don't fit into CSS in JS model well**. There are definitely valid cases when things like descendant combinators can be used, and we have been exploring a [possible API](https://github.com/styletron/styletron/issues/229) for that.

For now, there are some workarounds for common cases that we recommend to use. However, if you are trying to implement something like this:

Expand Down