1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-28 16:19:52 +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: Docked at corner
## HTML
```html
```html index.html
<div class="docked-at-corner">
<!-- Docked at the top right corner -->
<div class="docked-at-corner__docker"></div>
@@ -18,7 +18,7 @@ title: Docked at corner
## CSS
```css
```css styles.css
.docked-at-corner {
position: relative;
}
@@ -77,3 +77,7 @@ body {
</div>
```
</Playground>
## See also
- Discover how to animate a docked element using the [pulse animation](https://phuoc.ng/collection/css-animation/pulse-animation)