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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user