Better HN
top
new
best
ask
show
jobs
Log in
Sign up
An underrated CSS selector is the adjacency `+` operator | Better HN
An underrated CSS selector is the adjacency `+` operator
(twitter.com)
2 points · by
yvonnick
· 7y ago · 1 comment
Comments
[–]
WeEatnKid
7y ago
In combination with an element that has a state-related selector (eg :checked), you can implement something like modals or expandable lists without writing any javascript.