mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-06 14:16:50 +02:00
feat: Add file names to snippets
This commit is contained in:
@@ -9,7 +9,7 @@ title: Custom checkbox button
|
||||
|
||||
## HTML
|
||||
|
||||
```html
|
||||
```html index.html
|
||||
<label class="custom-checkbox-button">
|
||||
<!-- The real checkbox -->
|
||||
<input type="checkbox" class="custom-checkbox-button__input" />
|
||||
@@ -27,7 +27,7 @@ title: Custom checkbox button
|
||||
|
||||
## CSS
|
||||
|
||||
```css
|
||||
```css styles.css
|
||||
.custom-checkbox-button {
|
||||
/* Center the content horizontally */
|
||||
align-items: center;
|
||||
|
Reference in New Issue
Block a user