mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-20 12:52:00 +02:00
feat: Add file names to snippets
This commit is contained in:
@@ -9,7 +9,7 @@ title: Sticky sections
|
||||
|
||||
## HTML
|
||||
|
||||
```html
|
||||
```html index.html
|
||||
<div class="sticky-sections">
|
||||
<section class="sticky-sections__section">...</section>
|
||||
|
||||
@@ -20,7 +20,7 @@ title: Sticky sections
|
||||
|
||||
## CSS
|
||||
|
||||
```css
|
||||
```css styles.css
|
||||
.sticky-sections {
|
||||
height: 100%;
|
||||
overflow: scroll;
|
||||
|
Reference in New Issue
Block a user