mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-29 08:39:58 +02:00
feat: Add file names to snippets
This commit is contained in:
@@ -9,7 +9,7 @@ title: Color swatch
|
||||
|
||||
## HTML
|
||||
|
||||
```html
|
||||
```html index.html
|
||||
<div class="swatch">
|
||||
<div class="swatch__item" style="background-color: ..."></div>
|
||||
|
||||
@@ -20,7 +20,7 @@ title: Color swatch
|
||||
|
||||
## CSS
|
||||
|
||||
```css
|
||||
```css styles.css
|
||||
.swatch {
|
||||
/* Wrap the items */
|
||||
display: flex;
|
||||
|
Reference in New Issue
Block a user