mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 20:19:13 +00:00
switching machines
This commit is contained in:
@@ -6,7 +6,47 @@ tags: e-commerce
|
||||
icon: preview
|
||||
---
|
||||
|
||||
## Grid Tiles
|
||||
## 2 Column
|
||||
```html{.example}
|
||||
<div class="wa-flank wa-align-items-start" style="--flank-size: 360px;">
|
||||
<div class="wa-gap-2xl wa-stack">
|
||||
<div class="wa-stack">
|
||||
<span class="wa-heading-xl">Casual Collection</span>
|
||||
<p class="wa-caption-l">Look good - without looking like you're trying too hard. Our casual collection includes laid back styles that work in <em>almost</em> any situation</p>
|
||||
</div>
|
||||
<wa-button>View the collection</wa-button>
|
||||
</div>
|
||||
<div>
|
||||
<img class="wa-frame:landscape" src="https://images.unsplash.com/photo-1544441893-675973e31985?q=80&w=2340&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" />
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
## 3 Column
|
||||
```html{.example}
|
||||
<div class="wa-stack">
|
||||
<h2 class="wa-heading-l">Shop by Category</h2>
|
||||
<div class="wa-grid">
|
||||
<div class="wa-stack">
|
||||
<img src="https://uploads.webawesome.com/organization.jpg" />
|
||||
<span class="wa-caption-xl">Organization</span>
|
||||
|
||||
</div>
|
||||
<div class="wa-stack">
|
||||
<img src="https://uploads.webawesome.com/bags.jpg" />
|
||||
<span class="wa-caption-xl">Bags</span>
|
||||
|
||||
</div>
|
||||
<div class="wa-stack">
|
||||
<img src="https://uploads.webawesome.com/outdoor-2.jpg" />
|
||||
<span class="wa-caption-xl">Outdoor</span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
## 3 Column Card
|
||||
|
||||
```html{.example}
|
||||
<div class="wa-stack">
|
||||
@@ -23,7 +63,7 @@ icon: preview
|
||||
alt="Durable gear for all conditions"
|
||||
/>
|
||||
<span class="wa-heading-m">Outdoor</span>
|
||||
<p class="wa-caption-l"><em>Durable gear for all conditions</em></p>
|
||||
<p class="wa-caption-l" style="margin:0"><em>Durable gear for all conditions</em></p>
|
||||
</wa-card>
|
||||
</a>
|
||||
<a href="*" style="--wa-link-decoration-default: none;">
|
||||
@@ -34,7 +74,7 @@ icon: preview
|
||||
alt="Cozy up on the couch and relax"
|
||||
/>
|
||||
<span class="wa-heading-m">Home</span>
|
||||
<p class="wa-caption-l"><em>Cozy up on the couch and relax</em></p>
|
||||
<p class="wa-caption-l" style="margin:0"><em>Cozy up on the couch and relax</em></p>
|
||||
</wa-card>
|
||||
</a>
|
||||
<a href="*" style="--wa-link-decoration-default: none;">
|
||||
@@ -45,92 +85,36 @@ icon: preview
|
||||
alt="Get fit in style with our breathable poly blends"
|
||||
/>
|
||||
<span class="wa-heading-m">Active</span>
|
||||
<p class="wa-caption-l"><em>Get fit in style with our breathable poly blends</em></p>
|
||||
<p class="wa-caption-l" style="margin:0"><em>Get fit in style with our breathable poly blends</em></p>
|
||||
</wa-card>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
## Mosaic Tiles
|
||||
## Split Panel
|
||||
|
||||
```html{.example}
|
||||
<div class="wa-stack" style="max-width: 960px; margin: 0 auto;">
|
||||
<div class="wa-split">
|
||||
<h1>Shop by Category</h1>
|
||||
<a href="#" class="wa-cluster">Browse all Categories <wa-icon name="arrow-right"></wa-icon></a>
|
||||
<div class="wa-grid">
|
||||
<div class="wa-stack">
|
||||
<img class="wa-frame:landscape" src="https://images.unsplash.com/photo-1544441893-675973e31985?q=80&w=2340&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" />
|
||||
<div class="wa-gap-2xl wa-stack">
|
||||
<div class="wa-stack">
|
||||
<span class="wa-heading-xl">Workspace Collection</span>
|
||||
<p class="wa-caption-l">Upgrade your desk with objects that keep you organized and clear-minded.</p>
|
||||
</div>
|
||||
<wa-button>View the collection</wa-button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wa-stack">
|
||||
<div class="wa-grid">
|
||||
<a href="*" style="--wa-link-decoration-default: none;">
|
||||
<wa-card with-image class="card-image">
|
||||
<img
|
||||
slot="image"
|
||||
src="https://img.fortawesome.com/cfa83f3c/outdoor-3x.jpg"
|
||||
alt="Durable gear for all conditions"
|
||||
/>
|
||||
<span class="wa-heading-m">Outdoor</span>
|
||||
<p class="wa-caption-l"><em>Durable gear for all conditions</em></p>
|
||||
</wa-card>
|
||||
</a>
|
||||
<a href="*" style="--wa-link-decoration-default: none;">
|
||||
<wa-card with-image class="card-image">
|
||||
<img
|
||||
slot="image"
|
||||
src="https://img.fortawesome.com/cfa83f3c/outdoor-3x.jpg"
|
||||
alt="Durable gear for all conditions"
|
||||
/>
|
||||
<span class="wa-heading-m">Outdoor</span>
|
||||
<p class="wa-caption-l"><em>Durable gear for all conditions</em></p>
|
||||
</wa-card>
|
||||
</a>
|
||||
<a href="*" style="--wa-link-decoration-default: none;">
|
||||
<wa-card with-image class="card-image">
|
||||
<img
|
||||
slot="image"
|
||||
src="https://img.fortawesome.com/cfa83f3c/outdoor-3x.jpg"
|
||||
alt="Durable gear for all conditions"
|
||||
/>
|
||||
<span class="wa-heading-m">Outdoor</span>
|
||||
<p class="wa-caption-l"><em>Durable gear for all conditions</em></p>
|
||||
</wa-card>
|
||||
</a>
|
||||
<img class="wa-frame:landscape" src="https://images.unsplash.com/photo-1544441893-675973e31985?q=80&w=2340&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" />
|
||||
<div class="wa-gap-2xl wa-stack">
|
||||
<div class="wa-stack">
|
||||
<span class="wa-heading-xl">Workspace Collection</span>
|
||||
<p class="wa-caption-l">Upgrade your desk with objects that keep you organized and clear-minded.</p>
|
||||
</div>
|
||||
<div class="wa-grid">
|
||||
<a href="*" style="--wa-link-decoration-default: none;">
|
||||
<wa-card with-image>
|
||||
<img
|
||||
slot="image"
|
||||
src="https://img.fortawesome.com/cfa83f3c/home.jpg"
|
||||
alt="Cozy up on the couch and relax"
|
||||
/>
|
||||
<span class="wa-heading-m">Home</span>
|
||||
<p class="wa-caption-l"><em>Cozy up on the couch and relax</em></p>
|
||||
</wa-card>
|
||||
</a>
|
||||
<a href="*" style="--wa-link-decoration-default: none;">
|
||||
<wa-card with-image>
|
||||
<img
|
||||
slot="image"
|
||||
src="https://img.fortawesome.com/cfa83f3c/fitness.jpg"
|
||||
alt="Get fit in style with our breathable poly blends"
|
||||
/>
|
||||
<span class="wa-heading-m">Active</span>
|
||||
<p class="wa-caption-l"><em>Get fit in style with our breathable poly blends</em></p>
|
||||
</wa-card>
|
||||
</a>
|
||||
</div>
|
||||
<a href="*" style="--wa-link-decoration-default: none;">
|
||||
<wa-card with-image class="card-image">
|
||||
<img
|
||||
slot="image"
|
||||
src="https://img.fortawesome.com/cfa83f3c/pet.jpg"
|
||||
alt="Durable gear for all conditions"
|
||||
/>
|
||||
<span class="wa-heading-m">Animal & Pet</span>
|
||||
<p class="wa-caption-l"><em>Don't forget about your four legged friends</em></p>
|
||||
</wa-card>
|
||||
</a>
|
||||
<wa-button>View the collection</wa-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user