mfbs

CSS microframework
git clone https://git.ce9e.org/mfbs.git

commit
83457333157121049c25233d4c102bc8de99a0ab
parent
05c6445df120e412ead8484b3d7ce8bc1b30c0b9
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-04-24 12:49
update README

Diffstat

M README.md 19 +++++--------------

1 files changed, 5 insertions, 14 deletions


diff --git a/README.md b/README.md

@@ -14,20 +14,11 @@ See how it looks
   14    14 
   15    15 ## how to use it
   16    16 
   17    -1     // First, define your own variables
   18    -1     @import "variables";
   -1    17 The code is plain CSS, so you can use it any way you want:
   19    18 
   20    -1     // Import basic styling and default variables
   21    -1     @import "mfbs/variables";
   22    -1     @import "mfbs/base";
   23    -1 
   24    -1     // Optionally import some opinionated styling
   25    -1     @import "mfbs/form";
   26    -1 
   27    -1     // Import your own components
   28    -1     @import "components/header";
   29    -1     @import "components/navigation";
   30    -1     @import "components/article";
   -1    19 -   Reference the file you want using `<link rel="stylesheet" href="…"/>`
   -1    20 -   Concatenate the files and you own code into a single big file.
   -1    21 -   Or just read the code and copy the parts you like.
   31    22 
   32    23 ## features
   33    24 
@@ -36,7 +27,7 @@ See how it looks
   36    27 -   The default colors were carefully picked to look nice and satisfy minimum
   37    28     contrast requirements.
   38    29 -   Opinionated styling for buttons, layout, and some more things is available
   39    -1     in optional modules.
   -1    30     in additional modules.
   40    31 -   Base styles have low specificity, so they can easily be extended with
   41    32     custom components.
   42    33 -   The small set of variables is very focused and scales well for projects of