mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-12 00:54:45 +02:00
feat: Add file names to snippets
This commit is contained in:
@@ -9,7 +9,7 @@ title: Fixed at corner
|
||||
|
||||
## HTML
|
||||
|
||||
```html
|
||||
```html index.html
|
||||
<div class="fixed-at-corner">
|
||||
<!-- Top-left corner -->
|
||||
<div class="fixed-at-corner__corner fixed-at-corner__corner--tl">...</div>
|
||||
@@ -27,7 +27,7 @@ title: Fixed at corner
|
||||
|
||||
## CSS
|
||||
|
||||
```css
|
||||
```css styles.css
|
||||
.fixed-at-corner {
|
||||
position: relative;
|
||||
}
|
||||
|
Reference in New Issue
Block a user