Ivan Kurnosov (@zerkms )

Ivan Kurnosov

Bio Software developer
Location Wellington, New Zealand
Tweets 9,8K
Followers 321
Following 177
Account created 20-04-2008 02:07:24
ID 14448297

TweetDeck : Seen the native CSS nesting draft `@nest`!? Heres an example using draft syntax, and its kinda like a parent selector:

```#css
section {
@nest main > & {
margin-inline: 0;
}
}
👇
main > section {
margin-inline: 0;
}
```

learn more 👉 drafts.csswg.org/css-nesting-1/