A classless CSS framework to write modern websites using only HTML. It weighs 4.8kb.
All it does is set some sensible defaults and styles your HTML to look reasonable. It's perfect for:
Demo: newcss.net
Add this line to the end of your HTML's <head>
:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1/new.min.css">
If you'd like the font Inter as well (recommended), add this line as well:
<link rel="stylesheet" href="https://fonts.xz.style/serve/inter.css">
npm i @exampledev/new.css
yarn add @exampledev/new.css
new.css uses a color palette that can be easily customized. These are declared as a CSS variable in the :root attribute.
See pre-made themes at newcss.net/themes.
Information is available on the wiki.
Why should I use this instead of (popular framework)?
new.css wasn't made to be a true framework. It's made for rapidly prototyping your raw HTML or setting up a good-looking simple HTML site with zero configuration.
Does this work with (platform/service)?
new.css was designed to work with nothing but raw HTML, but some awesome community members are porting it to other platforms.
Check if your platform or service supports custom CSS. If it does, it'll probably work. You're welcome to ask the community as well.