Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fuzionmonkey
· 9y ago · 0 comments
Plain pseudo classes are supported (e.g. :hover), but since descendant/child combinators aren't supported, a parent :hover can't change a child style. But any element can still have :hover styles.
Comments
[–]
err4nt
9y ago
That seems like it would be a big roadblock to doing much useful with it. Is it impossible, not yet supported, or supported but not easy to do?
[–]
rtsao
9y ago
Someone submitted a proposal on how to support descendent/child combinators. It's certainly possible, but I wrote a response on why it would would potentially involve tradeoffs:
https://github.com/rtsao/styletron/issues/27#issuecomment-26...