🔨 Bigiron.css
Bigiron.css is a fork of water.css, with SCSS source files, different default colors, and more Texas Red.
Now you can write your simple static site with nice semantic html, and Bigiron.css will manage the styling for you.
Installation
Install
npm i bigiron.css
import "bigiron.css/dist/bigiron.css"
Or paste this into the <head>
of your HTML:
<link rel="stylesheet" href="https://unpkg.com/bigiron.css@latest/dist/bigiron.css" />
CSS Variables
Below is all of the CSS variables BigIron uses
--background-body: #151414;
--background: #2b2b2b;
--background-alt: #1a242f;
--selection: #1c76c5;
--text-main: #dbdbdb;
--text-bright: #fff;
--text-muted: #a9b1ba;
--links: #41adff;
--focus: #0096bfab;
--border: #526980;
--code: #ffbe85;
--animation-duration: 0.1s;
--button-hover: #324759;
--scrollbar-thumb: var(--button-hover);
--scrollbar-thumb-hover: color-mod(var(--scrollbar-thumb) lightness(+8%));
--form-placeholder: #a9a9a9;
--form-text: #fff;
--variable: #d941e2;
--highlight: #efdb43;
Goals
- Responsive
- Good code quality
- Good browser support
- Small size (< 2kb)
- Beautiful
- No classes
Is it responsive?
Heck yeah! It doesn't include any fancy styles so it's easily mobile responsive. Just add the famousresponsive viewport tag and you'll be good to go!
In fact, try resizing this page. Everything flows super nicely as you'll see.
Element demos
This is supposed to be a demo page so we need more elements!
Form elements
Code
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.
Other
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 |
Some summary/details can't hurt!
Lorem ipsum dolor sit blah blah.
The dialog (form, and menu) tag
Typography
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 (seeNotesfor 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."
- Unordered list item 1
- Unordered list item 2
- Unordered list item 3
- Ordered list item 1
- Ordered list item 2
- Ordered list item 3
Addresses are also styled to be awesome!
[email protected]778-330-2389
666-666-6666