mirror of
https://github.com/tabler/tabler.git
synced 2026-10-14 06:07:07 +04:00
23 lines
449 B
Plaintext
23 lines
449 B
Plaintext
---
|
|
// The `{% highlight css %}` block emits the raw CSS text (no highlight markup in
|
|
// the dev build), rendered here as a text node inside .card-code.
|
|
import CardTitle from '@ui/CardTitle.astro';
|
|
|
|
const code = `
|
|
.card-footer {
|
|
background: transparent;
|
|
|
|
&:last-child {
|
|
border-radius: 0 0 1 2;
|
|
}
|
|
}
|
|
`;
|
|
---
|
|
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<CardTitle>Card with code</CardTitle>
|
|
</div>
|
|
<div class="card-code">{code}</div>
|
|
</div>
|