forked from Chalarangelo/30-seconds-of-css
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 767b720
Showing
46 changed files
with
15,488 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["env", "stage-2"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules/ | ||
.cache/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
### Snippet name | ||
|
||
Brief description | ||
|
||
#### 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=some-feature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# 30 Seconds of CSS | ||
|
||
A curated collection of useful CSS snippets you can understand in 30 seconds or less. | ||
Inspired by [30 seconds of code](https://github.com/Chalarangelo/30-seconds-of-code). | ||
|
||
## View online | ||
|
||
https://github.io/atomiks/30-seconds-of-css | ||
|
||
## Contributing | ||
|
||
See CONTRIBUTING.md for the snippet template. |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.