1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-01 04:12:14 +02:00

docs/info

This commit is contained in:
2023-11-06 19:29:54 +01:00
parent 0d70189908
commit 98d9d6a5b1
10 changed files with 64 additions and 43 deletions

View File

@ -2,8 +2,11 @@ let is_registered= false;
import { styles } from "../index.css.js";
export const css= styles().scope(example).css`
:host{
--body-max-width: 80rem;
height: 25rem;
grid-column: 1/4;
width: 100%;
max-width: calc(9/5 * var(--body-max-width));
height: calc(3/5 * var(--body-max-width));
margin-inline: auto;
}
`
import { el } from "deka-dom-el";