This page loaded in seconds.
I always knew I was a star, and now the rest of the world seems to agree with me.
Mercury CSS is a tiny classless stylesheet built for speed. It hooks directly into HTML elements adding minimal modern styling focused on good typography, fast load times, and responsive design.
The Mercury CSS stylesheet is 4kb unminifed.
Mercury CSS is a good place to start and build upon for most modern web development. And it's a pretty good place to stop if you care only about legibility and speed.
As a classless css stylesheet, Mercury CSS is primarily concerned with great typography. Great in the sense that it is easy to read and you probably won't notice much else about it, not great in the sense that it will win an AWWWARD.
The typographic scale is modular with a base font size of 16.18px and all other sizes being a factor of that and harmonic multipler of 1.325.
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6
Body Copy (16.18px)
Small copy (11.76px)
Links are styled throughout. They look like this link to DuckDuckGo, a search engine that respects your privacy.
Highlighted text uses the <mark> element to highlight important text in your content.
Keyboard input displays shortcuts like Ctrl + C to copy or Cmd + V to paste.
It ate the world.
define m_hello() {
print "Hello, World.";
}
for (var i = 1; i <= 100; i++) {
var expletive = '';
if (i % 3 === 0) expletive += 'Fizz';
if (i % 5 === 0) expletive += 'Buzz';
console.log(expletive || i);
}
Fight or Flight response breakdown:
| Type | Setting | Use | Seats |
|---|---|---|---|
| Picnic | Park | BBQ | 4-6 |
| Kitchen | Home | Eating | 4 |
| High Top | Bar | Mingling | 3 |
| Dining | Formal Dining Room | ??? | 6-8 |
| Ping Pong | Frat | Drinking Games | 43 |
A Table Table
Images are responsive and can be wrapped in <figure> elements with captions:
Collapsible content sections:
Mercury CSS is a tiny classless stylesheet built for speed. It hooks directly into HTML elements adding minimal modern styling focused on good typography, fast load times, and responsive design.
Classless means you don't need to add CSS classes to your HTML. Just write semantic HTML and the stylesheet handles the rest. This makes it perfect for quick prototypes, documentation, and content-focused sites.
Project completion:
70% complete
Mercury CSS includes print-optimized styles. When printing, the page automatically adjusts to full width, uses a white background with black text, and displays link URLs inline for reference.