1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-25 23:06:15 +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: Cookie banner
## HTML
```html
```html index.html
<div class="cookie-banner">
<!-- Tells visitors that the website uses cookie -->
<div class="cookie-banner__content">...</div>
@@ -21,7 +21,7 @@ title: Cookie banner
## CSS
```css
```css styles.css
.cookie-banner {
/* Banner is displayed at the bottom */
bottom: 0;