mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-21 05:11:31 +02:00
feat: Add file names to snippets
This commit is contained in:
@@ -9,7 +9,7 @@ title: Diagonal section
|
||||
|
||||
## HTML
|
||||
|
||||
```html
|
||||
```html index.html
|
||||
<div class="diagonal-section">
|
||||
<!-- The diagonal area -->
|
||||
<div class="diagonal-section__diagonal"></div>
|
||||
@@ -21,7 +21,7 @@ title: Diagonal section
|
||||
|
||||
## CSS
|
||||
|
||||
```css
|
||||
```css styles.css
|
||||
.diagonal-section {
|
||||
/* Used to position the diagonal area */
|
||||
position: relative;
|
||||
|
Reference in New Issue
Block a user