@ -24,7 +24,7 @@
< / svg >
< div class = "header__title h1" >
Crispy Boilerplate< br / >
< span class = "text-small header__small" > 0.9.8 < / span >
< span class = "text-small header__small" > 0.9.9 < / span >
< / div >
< / a >
< div class = "header__subtitle h5" >
@ -61,12 +61,12 @@
Flat Sass Boilerplate gives you an amount of basic settings, components, helpers, mixins and functions.
< / p >
< p >
The problem of most frameworks is they trying to hard adding a lot of styles,
which has to be customized and documented. Often these changes cause a loss of
performance and raise the propability of errors.
The problem of most frameworks is they trying to hard adding a lot of styles
which has to be customized and documented if you used it for a Project.
Often these changes cause a loss of performance and raise the propability of errors.
< / p >
< p >
It uses also the following libraries:
Crispy Boilerplate uses also the following libraries:
< / p >
< ul >
< li > < a href = "https://necolas.github.io/normalize.css/" target = "_blank" > normalize.css< / a > < / li >
@ -86,14 +86,18 @@
The idea is to extend each component and save time to write a bunch of extra CSS code and
therefore get more performance while minimize the causes of errors. Of Course is really Fancy to get more Performance and less Errors.
< / p >
< h3 > Include< / h3 >
< p >
Components and Helpers are organizes as Mixins, that makes it a little easier to
to add Styles you need.
< / p >
<!-- getting started -->
< hr class = "margin-top-3x" >
< h2 id = "getting-started" > Getting Started< / h2 >
< h3 > Installation< / h3 >
< p > Main SCSS-file:< / p >
< pre class = "code" > < code > npm install crispy-boilerplate< / code > < / pre >
< p > After this include mixins you need :< / p >
< p > Main SCSS-file :< / p >
< pre class = "code" > < code > @import
"crispy";< / code > < / pre >
< p > After this include mixins you need:< / p >
@ -105,13 +109,13 @@
< h3 > Example< / h3 >
< p >
You find an example in "/src/example". The documentation is also there . In the given example there are additional directories. These ones are part of a structure which might be helpful for you.
You find an example in "/src/example", this is this documentation . In the given example there are additional directories. These ones are part of a structure which might be helpful for you.
< / p >
< h3 > Site< / h3 >
< h4 > Site< / h4 >
< p >
Contains header, footer, partials that are used on a site or webapp. Header and footer are not classical components, there often more complex and have a special brand.
< / p >
< h3 > Templates< / h3 >
< h4 > Templates< / h4 >
< p >
Templates are for a single site or a group of sites, they are complex and there is no benefit so reuse them as components.
< / p >
@ -127,7 +131,7 @@
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < a href=" " > < /a> < / code > < / pre >
< p >
a-tag color is set by < strong > $crispy__color-primary< / strong > . :hover is set by
Color of Text is set by < strong > $crispy__color-primary< / strong > . < strong > Hover< / strong > is set by
< strong > $crispy__color-text< / strong >
< / p >
@ -218,7 +222,7 @@
<!-- components / button -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
b utton
B utton
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code margin-top-1x" > < code > < button class=" button" > < /button>
@ -228,14 +232,14 @@
<!-- components / code -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
c ode
C ode
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code margin-top-1x" > < code > < pre class=" code" > < code> < /code> < /pre> < / code > < / pre >
<!-- components / group -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
g roup
G roup
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < nav class=" group" >
@ -272,7 +276,7 @@
<!-- components / heading -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
h eading
H eading
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < h2> < /h2>
@ -296,7 +300,7 @@
<!-- components / hero -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
h ero
H ero
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < div class=" hero hero--bottom" style=" height: 300px; background-image: url('https://picsum.photos/1024')" > < /div> < / code > < / pre >
@ -304,7 +308,7 @@
<!-- components / icon -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
i con
I con
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < svg class=" icon icon--small" alt=" beaker" viewBox=" 0 0 100 100" >
@ -335,7 +339,7 @@
<!-- components / modal -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
m odal
M odal
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < div class=" modal modal--bottom width-100" >
@ -357,7 +361,7 @@
<!-- components / panel -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
p anel
P anel
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < div class=" panel" >
@ -373,7 +377,7 @@
<!-- components / table -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
t able
T able
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < table class=" table table--striped" >
@ -685,7 +689,7 @@ toRem(10px 10px 0 0);
< div class=" text-crossed" > < /div> < / code > < / pre >
< p >
Also it will be creat e classes for,
Also there ar e classes for,
< / p >
< ul >
< li > text-* with $crispy__font-sizes for "font-size"< / li >