mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 13:21:29 +04:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
22 lines
357 B
Plaintext
22 lines
357 B
Plaintext
---
|
|
// Raw CSS text inside .card-code (no highlight markup).
|
|
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>
|