Tacit is a CSS framework for dummies, who want their web services to look attractive but have almost zero skills in graphic design, just like myself. This is how your website will look if you add just this code to your HTML:
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://cdn.rawgit.com/yegor256/tacit/gh-pages/tacit-css-1.3.2.min.css"/> </head> </html>
You should not use any CSS classes to make your HTML code look nice. Just
make sure it is HTML5
compliant and you'll be fine. Again, no classes,
just standard HTML elements, like <table>
and <input>
.
Check the source code of this page.
By the way, Tacit is compliant with W3C validator requirements: HTML and CSS.
Forms
This is a one-line form without <fieldset>
:
Tables
A simple table would look like this:
Make | Price | Year |
---|---|---|
BMW X6 | $75,000 | 2013 |
Mercedes-Benz E350 | $52,700 | 2014 |
Headings
Just use standard <h1>
...<h6>
tags:
This is <h1>
Use a heading of the highest level once per page.
This is <h2>
Use <h2>
for sections of the page.
This is <h3>
Use <h3>
for sub-sections.
This is <h4>
I would recommend to avoid this type of heading at all.
This is <h5>
I would recommend to avoid this type of heading at all.
This is <h6>
I would recommend to avoid this type of heading at all.
Sup® and Sub® Elements
Lists
Just use standard <ul>
, <ol>
and <dl>
tags:
- Orange
-
Apple
- First
-
Second
- Blue
- Yellow
- Green
- Red
- Third
- Apricot
- Banana
- A yellow fruit that is easy to peel.
- Which also grows on a tree.
- Cashew
- A tan nut without a peel.
- Cherry
- A red fruit that is hard to peel.
Blockquote
Use this to emphasize a quote
Keyboard
Sometimes you want to let people know they should press a keyboard command like ctrl + l.
Images
Work in progress
The framework is still in development. If you want to contribute, fork it and submit a pull request. Your help is always appreciated.