Compo Css
Component based css with vanila javascript.
Get Started
Install Compo Css
to your project.
pnpm install compo-css
Example
import ccss form "compo-css";
const div = ccss("div")`
padding: 20px;
background-color: teal;
font-family: sans-serif;
`;
const p = ccss("p")`
margin: 0;
font-size: 5rem;
font-weight: 700;
background-color: red;
`;
p.innerText = "Compo Css";
div.append(p);
document.querySelector("body").append(div);