1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-12 17:14:19 +02:00

feat: Add file names to snippets

This commit is contained in:
Phuoc Nguyen
2023-09-01 07:43:57 +07:00
parent c9c8bbdb1f
commit a080bf3966
106 changed files with 234 additions and 212 deletions

View File

@@ -9,7 +9,7 @@ title: Sticky header
## HTML
```html
```html index.html
<div>
<header class="sticky-header__header">...</header>
<main>...</main>
@@ -18,7 +18,7 @@ title: Sticky header
## CSS
```css
```css styles.css
.sticky-header__header {
/* Stick to the top */
position: sticky;