1
0
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:
Phuoc Nguyen
2022-09-21 14:30:45 +07:00
parent 8191785762
commit d166d682ea
289 changed files with 251 additions and 387 deletions

View File

@@ -0,0 +1,5 @@
<div class="sticky-sections">
{% for i in range(0, 4) -%}
<section class="sticky-sections__section"></section>
{%- endfor %}
</div>

View File

@@ -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 }}" />

View File

@@ -85,5 +85,5 @@ keywords: css accordion, css flexbox
```
{% demo %}
{% include "patterns/accordion.njk" %}
{% include "covers/accordion.njk" %}
{% enddemo %}

View File

@@ -87,5 +87,5 @@ keywords: css arrow buttons
```
{% demo %}
{% include "patterns/arrow-buttons.njk" %}
{% include "covers/arrow-buttons.njk" %}
{% enddemo %}

View File

@@ -49,5 +49,5 @@ keywords: css avatar, css flexbox
```
{% demo %}
{% include "patterns/avatar-list.njk" %}
{% include "covers/avatar-list.njk" %}
{% enddemo %}

View File

@@ -39,5 +39,5 @@ keywords: css avatar, css flexbox
```
{% demo %}
{% include "patterns/avatar.njk" %}
{% include "covers/avatar.njk" %}
{% enddemo %}

View File

@@ -33,4 +33,4 @@ keywords: css badge, css flexbox
}
```
{% demo %}{% include "patterns/badge.njk" %}{% enddemo %}
{% demo %}{% include "covers/badge.njk" %}{% enddemo %}

View File

@@ -36,5 +36,5 @@ keywords: css flexbox, css icon button
```
{% demo %}
{% include "patterns/button-with-icon.njk" %}
{% include "covers/button-with-icon.njk" %}
{% enddemo %}

View File

@@ -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 %}

View File

@@ -42,5 +42,5 @@ keywords: css card, css flexbox
```
{% demo %}
{% include "patterns/card.njk" %}
{% include "covers/card.njk" %}
{% enddemo %}

View File

@@ -24,5 +24,5 @@ keywords: css centering, css flexbox
```
{% demo %}
{% include "patterns/centering.njk" %}
{% include "covers/centering.njk" %}
{% enddemo %}

View File

@@ -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 %}

View File

@@ -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