mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-29 16:49:58 +02:00
feat: Sticky sections
This commit is contained in:
5
contents/_includes/covers/sticky-sections.njk
Normal file
5
contents/_includes/covers/sticky-sections.njk
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="sticky-sections">
|
||||
{% for i in range(0, 4) -%}
|
||||
<section class="sticky-sections__section"></section>
|
||||
{%- endfor %}
|
||||
</div>
|
@@ -2,9 +2,6 @@
|
||||
<html lang="{{ metadata.language }}">
|
||||
<head>
|
||||
<title>{{ title or metadata.title }} - CSS Layout</title>
|
||||
<link rel="icon" href="/assets/favicon.png" type="image/png" />
|
||||
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml" />
|
||||
<link rel="mask-icon" href="/assets/mask-favicon.svg" color="#1975FF" />
|
||||
<meta charset="utf-8">
|
||||
<meta name="author" content="Nguyen Huu Phuoc" />
|
||||
<meta name="description" content="{{ description or title }}" />
|
||||
|
@@ -85,5 +85,5 @@ keywords: css accordion, css flexbox
|
||||
```
|
||||
|
||||
{% demo %}
|
||||
{% include "patterns/accordion.njk" %}
|
||||
{% include "covers/accordion.njk" %}
|
||||
{% enddemo %}
|
||||
|
@@ -87,5 +87,5 @@ keywords: css arrow buttons
|
||||
```
|
||||
|
||||
{% demo %}
|
||||
{% include "patterns/arrow-buttons.njk" %}
|
||||
{% include "covers/arrow-buttons.njk" %}
|
||||
{% enddemo %}
|
||||
|
@@ -49,5 +49,5 @@ keywords: css avatar, css flexbox
|
||||
```
|
||||
|
||||
{% demo %}
|
||||
{% include "patterns/avatar-list.njk" %}
|
||||
{% include "covers/avatar-list.njk" %}
|
||||
{% enddemo %}
|
||||
|
@@ -39,5 +39,5 @@ keywords: css avatar, css flexbox
|
||||
```
|
||||
|
||||
{% demo %}
|
||||
{% include "patterns/avatar.njk" %}
|
||||
{% include "covers/avatar.njk" %}
|
||||
{% enddemo %}
|
||||
|
@@ -33,4 +33,4 @@ keywords: css badge, css flexbox
|
||||
}
|
||||
```
|
||||
|
||||
{% demo %}{% include "patterns/badge.njk" %}{% enddemo %}
|
||||
{% demo %}{% include "covers/badge.njk" %}{% enddemo %}
|
||||
|
@@ -36,5 +36,5 @@ keywords: css flexbox, css icon button
|
||||
```
|
||||
|
||||
{% demo %}
|
||||
{% include "patterns/button-with-icon.njk" %}
|
||||
{% include "covers/button-with-icon.njk" %}
|
||||
{% enddemo %}
|
||||
|
@@ -41,4 +41,4 @@ keywords: css card layout, css flexbox, css layout
|
||||
}
|
||||
```
|
||||
|
||||
{% demo %}{% include "patterns/card-layout.njk" %}{% enddemo %}
|
||||
{% demo %}{% include "covers/card-layout.njk" %}{% enddemo %}
|
||||
|
@@ -42,5 +42,5 @@ keywords: css card, css flexbox
|
||||
```
|
||||
|
||||
{% demo %}
|
||||
{% include "patterns/card.njk" %}
|
||||
{% include "covers/card.njk" %}
|
||||
{% enddemo %}
|
||||
|
@@ -24,5 +24,5 @@ keywords: css centering, css flexbox
|
||||
```
|
||||
|
||||
{% demo %}
|
||||
{% include "patterns/centering.njk" %}
|
||||
{% include "covers/centering.njk" %}
|
||||
{% enddemo %}
|
||||
|
@@ -101,5 +101,5 @@ The [close button](/close-button/) is used to create a button for removing the c
|
||||
```
|
||||
|
||||
{% demo %}
|
||||
{% include "patterns/chip.njk" %}
|
||||
{% include "covers/chip.njk" %}
|
||||
{% enddemo %}
|
||||
|
@@ -69,5 +69,5 @@ keywords: css close button, css flexbox
|
||||
```
|
||||
|
||||
{% demo %}
|
||||
{% include "patterns/close-button.njk" %}
|
||||
{% include "covers/close-button.njk" %}
|
||||
{% enddemo %}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user