v1.0 Available

Donnez du style à vos pages.
Simplement. Instantanément.

Stylisez vos pages en écrivant directement dans le HTML.
Configuration minimale, pas de compilation.
Juste du CSS qui marche.

index.html
Live
<button class="bg-[blue] c-[white] px-[2rem] py-[1rem] rounded-[10px]">
Click me
</button>
Default state

Click the button
to change the style

The code on the left — the result on the right. Exactly what you will see in production.

How does it work?

You write in HTML. Marsel does the rest.

No CSS file to create. No compilation. You add a class, the style appears.

Before — Separate CSS

2 files to manage, context to switch constantly.

/* style.css */
.ma-carte {
  padding: 20px;
  border-radius: 12px;
  background: white;
}

<!-- index.html -->
<div class="ma-carte">...</div>
With Marsel — everything in HTML

Only one file. You write, you see. That's all.

<!-- Pas de CSS à écrire -->

<div class="
  p-[20px]
  rounded-[12px]
  bg-[white]
">...</div>
1

Install Marsel

An npm command, then a few lines of JS initialization — and off you go.

2

Add classes

Directly in your HTML, as you would in CSS.

3

Marsl generates the CSS

Automatically, only for what you use.

The Tailwind spirit, the freedom of Runtime

Pas besoin de configurer un fichier tailwind.config.js ou de lancer un watcher. Avec l'option components, vous créez vos propres utilitaires réutilisables instantanément. C'est la puissance des classes atomiques, la flexibilité du JS en plus.

// app.js
new Marssel({
    components: {
        'btn': 'px-[1.5rem] py-[0.75rem] rounded-[8px]',
        'btn:hover': 'transform-[scale(1.05)]'
    }
});

// Dans le HTML
<button class="btn">Cliquez</button>
Spoiler: Absolutely not.

Isn’t that just inline CSS?

We are often asked this question. Here's why Marssel is a style engine, not a simple HTML crutch.

Responsive without limits

Inline CSS is unable to handle states (:hover, :focus) or moving screens. Marssel does it natively.

style="color: red" (Static)
c-[red]:hover md--c-[blue]

Cache Intelligence

Unlike inline which duplicates the weight, Marssel pools it. A class used 50 times = 1 single CSS rule.

50 nodes style="..." = +10kb
50 nodes class="..." = 0kb extra

JIT syntax

Forget endless configs. Hooks give you access to the entire CSS spectrum instantly.

Box-shadow complexe ?
shadow-[0_4px_8px_rgba(0,0,0,0.1)]
Philosophy

Why Marsel?

We removed complexity to keep only creativity.

Legible

Plus de classes mystérieuses. p-[20px] fait exactement ce que vous pensez.

Fast

Generation on the fly. Only used classes are injected into the DOM.

Accurate

Native Components: Ready-to-use Modals, Toasts, Tooltips without additional JS.

Efficient

Intelligent cache + lazyload: instant styles on refresh, progressive loading.

Synergy

Designed for the whole team

A common language that reconciles speed of learning and complex needs.

Beginners

Knowing CSS already means knowing Marsl. No new logic to absorb, just style to write where it is.

✓ Instant learning

Developers

Maximum productivity. Manage your themes, reusable components, and animations without ever leaving your HTML file.

p-[20px] → padding: 20px

Teams

No more 'CSS Spaghetti'. Marssel imposes a natural and readable structure that any member can take control of.

Standard Maintenable
By the numbers

Performance and lightness

Performance is not an option, it is our foundation. Marssel eliminates technical debt: no unused files, no compilation. Just an ultra-light engine optimized for raw speed.

15 +

Native components

< 50KB

Gzip

0

Dependencies

100%

Valid CSS

Facility

Ready to get started?

Join the developers who have chosen simplicity.

# Installation via npm
npm install @marssel-vb/marssel --save

# Ou avec yarn
yarn add @marssel-vb/marssel