Setting things that we all usually set. box-sizing: border-border
is our friend. html and body
have to be fusioned. Click to the button at right top to see the difference between no Basesign.css used and when it's used.
We're human and we want to make things as elegant as is it possible.
bower install basesign
git clone https://github.com/stabla/Basesign.git
head
:
<link rel="stylesheet" href="basesign.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
We use h1
or class="h1"
to define heading 1. You have 5 level of heading : h1, h2, h3, h4, h5. You can use it as tags, or with class, as writted precedently.
For normal size, you have the choice to not writting nothing, but you can also write class="normal-h"
to set to default size headings tags. You have also class="normal-s"
to set normal text size.
The quick brown fox jumps over the lazy dog.
Same logic as default size, you have class="bigger-h"
to set bigger heading. Or class="bigger-s"
to set bigger size to text.
The quick brown fox jumps over the lazy dog.
Finally, you have class="little-h"
and class="little-s"
.
The quick brown fox jumps over the lazy dog.
Because default input's appearance are still ugly, there's something :
I like to use class="hidden"
to make an element display: none
, so there's it, you have class="hidden"
to make an element hidden.
At the same way, there's .ilb
as display: inline-block
.
For better readibility, you have class="paragraph"
to make a paragraph better, with a line-height of 155%.
If you have something to add, to delete, or any tips to give, you can push a request on GitHub.