Water.css is a drop-in collection of CSS styles to make simple websites like this just a little bit nicer.
Now you can write your simple static site with nice semantic html, and Water.css will manage the styling for you.
<head>
of your HTML: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/dark.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/light.css">
File | |
---|---|
Size (min + gzip) | |
Theme |
Heck yeah! It doesn't include any fancy styles so it's easily mobile responsive. Just add the famous responsive viewport tag and you'll be good to go!
In fact, try resizing this page. Everything flows super nicely as you'll see.
A bookmarklet is a snippet of JavaScript that sits in your bookmarks bar.
The Waterize bookmarklet can be used to make ugly websites more readable by replacing the styles with Water.css. Just drag this link to your bookmarks bar:
WaterizeThis is supposed to be a demo page so we need more elements!
Below is some code, you can copy it with Ctrl-C. Did you know, alert(1)
can show an alert in JavaScript!
// This logs a message to the console and check out the scrollbar.
console.log('Hello, world!')
Here's a horizontal rule and image because I don't know where else to put them.
And here's a nicely marked up table!
Name | Quantity | Price |
---|---|---|
Godzilla | 2 | $299.99 |
Mozilla | 10 | $100,000.00 |
Quesadilla | 1 | $2.22 |
Lorem ipsum dolor sit blah blah.
The dialog (form, and menu) tag
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque dictum hendrerit velit, quis ullamcorper sem congue ac. Quisque id magna rhoncus, sodales massa vel, vestibulum elit. Duis ornare accumsan egestas. Proin maximus lacus interdum leo molestie convallis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut iaculis risus eu felis feugiat, eu mollis neque elementum. Donec interdum, nisl id dignissim iaculis, felis dui aliquet dui, non fermentum velit lectus ac quam. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. This is strong, this is normal, this is just bold, and this is emphasized! And heck, here's a link.
"The HTML blockquote Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using thecite
attribute, while a text representation of the source can be given using the<cite>
cite element."
Addresses are also styled to be awesome!
john.doe@example.com