Rename snippet to css :not selector shortcut

This commit is contained in:
Juwan Petty
2018-03-08 20:59:09 -05:00
parent 149c2cba90
commit 58ba9b127b

View File

@ -0,0 +1,46 @@
### CSS :not selector shortcut
Lots of code just to space each item evenly, except for the last one is just one great example for the `:not` psuedo selector.
#### HTML
```html
```
#### CSS
```css
```
#### Demo
<!-- You must create a `snippet-demo` parent block and use it as a namespace with BEM syntax. -->
<div class="snippet-demo">
<some-element class="snippet-demo__snippet-name"></some-element>
</div>
<!-- Add your style rules here. -->
<style>
</style>
#### Explanation
<!-- Use a step-by-step (ordered) list if possible. Keep it concise. -->
#### Browser support
<!-- Use the checkmark or the warning emoji, see the existing snippets. -->
<span class="snippet__support-note">✅ No caveats.</span>
<!-- Whenever possible, link a `caniuse` feature which allows the browser support percentage to be displayed.
If no link is provided, it defaults to 99+%. -->
* https://caniuse.com/#feat=css-sel3
<!-- tags: layout -->