Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
no_wizard
on July 27, 2022
|
parent
|
context
|
favorite
| on:
Help pick a syntax for CSS nesting
I have a 4th idea for syntax. Use a similar syntax to media querys, where you use the `@nested` query with parentheses. Maybe too verbose?
.has-nesting {
@nested (> .nested) { /* rules */ } }
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
.has-nesting {