@ -30,22 +30,28 @@
< / div >
< / div >
< div class = "grid" >
< div class = "grid" >
< div class = "col-sm-4" >
< div class = "col-sm-4" >
< h2 class = "header__feature-title" > Less is more< / h2 >
< p class = "header__feature-text" >
Simple basic Components to extends in your own art
< / p >
< div class = "header__feature" >
< h2 class = "header__feature-title" > Less is more< / h2 >
< p class = "header__feature-text" >
Simple basic Components to extends in your own art
< / p >
< / div >
< / div >
< / div >
< div class = "col-sm-4" >
< div class = "col-sm-4" >
< h2 class = "header__feature-title" > Structure< / h2 >
< p class = "header__feature-text" >
Crispy gives you a Structure to orientate
< / p >
< div class = "header__feature" >
< h2 class = "header__feature-title" > Structure< / h2 >
< p class = "header__feature-text" >
Crispy gives you a Structure to orientate
< / p >
< / div >
< / div >
< / div >
< div class = "col-sm-4" >
< div class = "col-sm-4" >
< h2 class = "header__feature-title" > Helper< / h2 >
< p class = "header__feature-text" >
Use helper to save up time and coding less
< / p >
< div class = "header__feature header__feature--last" >
< h2 class = "header__feature-title" > Helper< / h2 >
< p class = "header__feature-text" >
Use helper to save up time and coding less
< / p >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
@ -109,13 +115,16 @@
< p >
< p >
This Site is also a Example to use the Boilerplate. You can find all
This Site is also a Example to use the Boilerplate. You can find all
Styles for this site in "/src/scss/example". You see also that there
Styles for this site in "/src/scss/example". You see also that there
is a "templates" Directory. The Idea in < strong > BEM< / strong > was always
is a < strong > "templates" Directory< / strong > . The Idea in < strong > BEM< / strong > was always
create all in Components. That is not always Practical.
create all in Components. That is not always Practical.
< / p >
< / p >
< p >
< p >
Sometimes, the more Bigger Picture, on a Single Site or in App the
Sometimes, the more Bigger Picture, on a Single Site or in App the
Stylings that are so special that the belong only there, and are to big
for a templates. For this use the "templates" Directory.
Stylings that are so special that the belong only there and are to complex
for a component. For this use the < strong > "templates" Directory< / strong > .
< / p >
< p >
Sites also have partials like header and footer, they can put into the < strong > directory "site"< / strong > .
< / p >
< / p >
<!-- how to use -->
<!-- how to use -->
@ -131,8 +140,18 @@
Typography
Typography
< / h2 >
< / h2 >
<!-- abbr -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" > a< / h3 >
< 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
< strong > $crispy__color-text< / strong >
< / p >
<!-- abbr -->
<!-- abbr -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" > Abbr< / h3 >
< h3 class = "h4 margin-top-2x margin-bottom-0x" > a bbr< / h3 >
< h4 class = "h6" > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < abbr title=" " > < /abbr> < / code > < / pre >
< pre class = "code" > < code > < abbr title=" " > < /abbr> < / code > < / pre >
< p >
< p >
@ -140,23 +159,39 @@
< / p >
< / p >
<!-- blockquote -->
<!-- blockquote -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" > B lockquote< / h3 >
< h3 class = "h4 margin-top-2x margin-bottom-0x" > b lockquote< / h3 >
< h4 class = "h6" > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < blockquote> < /blockquote> < / code > < / pre >
< pre class = "code" > < code > < blockquote> < /blockquote> < / code > < / pre >
< blockquote >
< blockquote >
Hoodie kickstarter four loko, pinterest hashtag chambray glossier. Pug before they sold out etsy listicle. Deep v bespoke tacos polaroid, squid flexitarian crucifix messenger bag.
Hoodie kickstarter four loko, pinterest hashtag chambray glossier. Pug before they sold out etsy listicle. Deep v bespoke tacos polaroid, squid flexitarian crucifix messenger bag.
< / blockquote >
< / blockquote >
<!-- hr -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" > hr< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < hr> < / code > < / pre >
< p >
< hr >
< / p >
<!-- paragraph -->
<!-- paragraph -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" > Paragraph< / h3 >
< h3 class = "h4 margin-top-2x margin-bottom-0x" > p aragraph< / h3 >
< h4 class = "h6" > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < p> < /p> < / code > < / pre >
< pre class = "code" > < code > < p> < /p> < / code > < / pre >
< p >
< p >
Glossier viral occupy mixtape pok pok.
Glossier viral occupy mixtape pok pok.
< / p >
< / p >
<!-- mark -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" > mark< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < mark> < /mark> < / code > < / pre >
< p >
Pug before they < mark > four loko< / mark > Deep v bespoke
< / p >
<!-- list -->
<!-- list -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" > List< / h3 >
< h3 class = "h4 margin-top-2x margin-bottom-0x" > l ist< / h3 >
< h4 class = "h6" > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < ul>
< pre class = "code" > < code > < ul>
< li> item 1< /li>
< li> item 1< /li>
@ -202,7 +237,7 @@
<!-- components / button -->
<!-- components / button -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
B utton
b utton
< / h3 >
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code margin-top-1x" > < code > < button class=" button" > < /button>
< pre class = "code margin-top-1x" > < code > < button class=" button" > < /button>
@ -210,9 +245,16 @@
< button class = "button" > Default< / button >
< button class = "button" > Default< / button >
< button class = "button button--wide margin-top-1x" > Info< / button >
< button class = "button button--wide margin-top-1x" > Info< / button >
<!-- components / code -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
code
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code margin-top-1x" > < code > < pre class=" code" > < code> < /code> < /pre> < / code > < / pre >
<!-- components / group -->
<!-- components / group -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
Group
g roup
< / h3 >
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < nav class=" group" >
< pre class = "code" > < code > < nav class=" group" >
@ -249,7 +291,7 @@
<!-- components / heading -->
<!-- components / heading -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
H eading
h eading
< / h3 >
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < h2> < /h2>
< pre class = "code" > < code > < h2> < /h2>
@ -273,7 +315,7 @@
<!-- components / hero -->
<!-- components / hero -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
H ero
h ero
< / h3 >
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< 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 >
< pre class = "code" > < code > < div class=" hero hero--bottom" style=" height: 300px; background-image: url('https://picsum.photos/1024')" > < /div> < / code > < / pre >
@ -281,7 +323,7 @@
<!-- components / icon -->
<!-- components / icon -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
I con
i con
< / h3 >
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < svg class=" icon icon--small" alt=" beaker" viewBox=" 0 0 100 100" >
< pre class = "code" > < code > < svg class=" icon icon--small" alt=" beaker" viewBox=" 0 0 100 100" >
@ -312,7 +354,7 @@
<!-- components / modal -->
<!-- components / modal -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
M odal
m odal
< / h3 >
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < div class=" modal modal--bottom width-100" >
< pre class = "code" > < code > < div class=" modal modal--bottom width-100" >
@ -334,7 +376,7 @@
<!-- components / panel -->
<!-- components / panel -->
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
P anel
p anel
< / h3 >
< / h3 >
< h4 class = "h6" > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < div class=" panel" >
< pre class = "code" > < code > < div class=" panel" >
@ -349,10 +391,10 @@
< / div >
< / div >
<!-- components / table -->
<!-- components / table -->
< h3 id = "table" class = "h4 margin-top-2x margin-bottom-0x" >
T able
< h3 class = "h4 margin-top-2x margin-bottom-0x" >
t able
< / h3 >
< / h3 >
< h4 class = "h6 margin-top-1x " > Html:< / h4 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < table class=" table table--striped" >
< pre class = "code" > < code > < table class=" table table--striped" >
< thead>
< thead>
< tr>
< tr>
@ -405,7 +447,7 @@
checkbox 1
checkbox 1
< / label >
< / label >
< / div >
< / div >
< div class = "field" >
< div class = "field field--error " >
< input id = "field__checkbox__2" class = "field__checkbox" type = "checkbox" name = "field__checkbox__2" value = "true" / >
< input id = "field__checkbox__2" class = "field__checkbox" type = "checkbox" name = "field__checkbox__2" value = "true" / >
< label for = "field__checkbox__2" class = "field__label" >
< label for = "field__checkbox__2" class = "field__label" >
< svg class = "icon field__checkbox__unchecked" alt = "beaker" viewBox = "0 0 100 100" >
< svg class = "icon field__checkbox__unchecked" alt = "beaker" viewBox = "0 0 100 100" >
@ -416,7 +458,7 @@
< / svg >
< / svg >
checkbox 1
checkbox 1
< / label >
< / label >
< div class = "field__panel field__panel--error " >
< div class = "field__panel" >
error item 1
error item 1
< / div >
< / div >
< / div >
< / div >
@ -449,9 +491,9 @@
< / div >
< / div >
<!-- radio / error -->
<!-- radio / error -->
< div class = "field" >
< div class = "field field--error " >
< input id = "field__radio__3" class = "field__radio" type = "radio" name = "field__radio__2[]" value = "true" / >
< input id = "field__radio__3" class = "field__radio" type = "radio" name = "field__radio__2[]" value = "true" / >
< label for = "field__radio__3" class = "field__label field__label--error " >
< label for = "field__radio__3" class = "field__label" >
< svg class = "icon field__radio__unchecked" alt = "beaker" viewBox = "0 0 100 100" >
< svg class = "icon field__radio__unchecked" alt = "beaker" viewBox = "0 0 100 100" >
< use xlink:href = "/svg/icons.svg#x" / >
< use xlink:href = "/svg/icons.svg#x" / >
< / svg >
< / svg >
@ -461,7 +503,7 @@
radio item 1
radio item 1
< / label > < br / >
< / label > < br / >
< input id = "field__radio__4" class = "field__radio" type = "radio" name = "field__radio__2[]" value = "true" / >
< input id = "field__radio__4" class = "field__radio" type = "radio" name = "field__radio__2[]" value = "true" / >
< label for = "field__radio__4" class = "field__label field__label--error " >
< label for = "field__radio__4" class = "field__label" >
< svg class = "icon field__radio__unchecked" alt = "beaker" viewBox = "0 0 100 100" >
< svg class = "icon field__radio__unchecked" alt = "beaker" viewBox = "0 0 100 100" >
< use xlink:href = "/svg/icons.svg#x" / >
< use xlink:href = "/svg/icons.svg#x" / >
< / svg >
< / svg >
@ -470,7 +512,7 @@
< / svg >
< / svg >
radio item 2
radio item 2
< / label >
< / label >
< div class = "field__panel field__panel--error " >
< div class = "field__panel" >
error item 1
error item 1
< / div >
< / div >
< / div >
< / div >
@ -489,15 +531,15 @@
< / select >
< / select >
< / label >
< / label >
< / div >
< / div >
< div class = "field" >
< div class = "field field--error " >
< label class = "field__label" >
< label class = "field__label" >
Select Item
Select Item
< select class = "field__select field__select--error " >
< select class = "field__select" >
< option > select item 1< / option >
< option > select item 1< / option >
< option > select item 2< / option >
< option > select item 2< / option >
< option > select item 3< / option >
< option > select item 3< / option >
< / select >
< / select >
< div class = "field__panel field__panel--error " >
< div class = "field__panel" >
error item 1
error item 1
< / div >
< / div >
< / label >
< / label >
@ -510,27 +552,36 @@
< div class = "field" >
< div class = "field" >
< input class = "field__text" type = "text" / >
< input class = "field__text" type = "text" / >
< / div >
< / div >
< div class = "field" >
< label class = "field__label field__label--error " >
< div class = "field field--valid " >
< label class = "field__label" >
Text
Text
< input type = "text" class = "field__text field__text--valid " / >
< input type = "text" class = "field__text" / >
< / label >
< / label >
< div class = "field__panel field__panel--valid " >
< div class = "field__panel" >
error item 1
error item 1
< / div >
< / div >
< / div >
< / div >
< div class = "field" >
< input type = "text" class = "field__text field__text--error" / >
< div class = "field__panel field__panel--error" >
< div class = "field field--error" >
< label class = "field__label" >
Text
< input type = "text" class = "field__text" / >
< / label >
< div class = "field__panel" >
error item 1
error item 1
< / div >
< / div >
< / div >
< / div >
< div class = "field" >
< div class = "field" >
< textarea class = "field__text" > < / textarea >
< label class = "field__label" >
Textarea
< textarea class = "field__text" > < / textarea >
< / label >
< / div >
< / div >
< div class = "field" >
< textarea class = "field__text" > < / textarea >
< div class = "field__panel field__panel--error" >
< div class = "field field--error" >
< label class = "field__label" >
Textarea
< textarea class = "field__text" > < / textarea >
< / label >
< div class = "field__panel" >
error item 1
error item 1
< / div >
< / div >
< / div >
< / div >