@ -7,7 +7,7 @@
< meta name = "description" content = "" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< link rel = "stylesheet" href = "../dest /css/crispy.css" >
< link rel = "stylesheet" href = "/css/crispy.css" >
< style >
.container {
max-width: 992px;
@ -29,11 +29,7 @@
}
.header__logo {
width: 50px;
line-height: 0;
position: relative;
top: 3px;
margin: 0 10px;
width: 45px;
}
.footer {
@ -51,14 +47,21 @@
< div class = "col-12" >
< div class = "text-center" >
< h1 class = "header__title" >
< img class = "header__logo" src = "../dest/svg/chip.svg" alt = "chip" / > Crispy Boilerplate - small, simple, pure CSS
< svg class = "icon header__logo" alt = "chip" viewBox = "0 0 100 100" >
< use xlink:href = "/svg/icons.svg#chip" / >
< / svg >
Crispy Boilerplate - small, simple, pure CSS
< / h1 >
< / div >
< / div >
< / div >
< / div >
< / header >
< a class = "button button--up" href = "#header" > b< / a >
< a class = "button button--up" href = "#header" >
< svg class = "icon" alt = "up" viewBox = "0 0 100 100" >
< use xlink:href = "/svg/icons.svg#triangle-up" / >
< / svg >
< / a >
< div class = "container" >
< div class = "grid" >
< div class = "col-2" >
@ -100,17 +103,17 @@
<!-- blockquote -->
< h3 class = "h4 margin-top-1x" > Heading< / h3 >
< h4 class = "h6" > Html:< / h4 >
< code > < h2> < /h2>
< h2 class="h3"> < /h2> < / code >
< pre class = "code" > < code > < h2> < /h2>
< h2 class="h3"> < /h2> < / code > < / pre >
< h4 class = "h6" > Sass:< / h4 >
< code > $crispy__heading__font-sizes: (
< pre class = "code" > < code > $crispy__heading__font-sizes: (
'h1': 40px,
'h2': 36px,
'h3': 32px,
'h4': 28px,
'h5': 24px,
'h6': 20px
) !default;< / code >
) !default;< / code > < / pre >
< h1 > Heading h1< / h1 >
< h2 > Heading h1< / h2 >
@ -124,21 +127,49 @@
<!-- blockquote -->
< h3 class = "h4 margin-top-1x" > blockquote< / h3 >
< h4 class = "h6" > Html:< / h4 >
< cod e class = "code" > < blockquote> < /blockquote> < / code >
< pr e class = "code" > < code > < blockquote> < /blockquote> < / code > < / pre >
< 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.
< / blockquote >
<!-- abbr -->
< h3 class = "h4 margin-top-1x" > abbr< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < abbr title=" " > < /abbr> < / code > < / pre >
< p >
Glossier viral occupy mixtape pok pok cornhole, < abbr title = "vape affogato hella" > vape affogato hella< / abbr > knausgaard thundercats
< / p >
< code class = "code" > < abbr title=" " > < /abbr> < / code >
<!-- list -->
< h3 class = "h4 margin-top-1x" > Lists< / h3 >
< h4 class = "h6" > Html:< / h4 >
< pre class = "code" > < code > < ul>
< li> item 1< /li>
< li>
item 2
< ul>
< li> child item 1< /li>
< li> child item 2< /li>
< /ul>
< /li>
< /ul>
< ol>
< li> item 1< /li>
< li> item 2< /li>
< /ol>
< dl>
< dt> defined title 1< /dt>
< dd> defined item 1< /dd>
< /dl> < / code > < / pre >
< ul >
< li > item 1< / li >
< li > item 2< / li >
< li >
item 2
< ul >
< li > child item 1< / li >
< li > child item 2< / li >
< / ul >
< / li >
< / ul >
< ol >
< li > item 1< / li >
@ -158,16 +189,16 @@
< button class = "button button--danger" > Danger< / button >
< button class = "button button--info" > Info< / button >
< button class = "button button--info button--wide margin-top-1x" > Info< / button >
< code class = "margin-top-1x margin-bottom-1x" > < button class=" button button--danger" > < /button>
< pre class = "code" > < code class = "margin-top-1x margin-bottom-1x" > < button class=" button button--danger" > < /button>
< button class=" button button--success" > < /button>
< button class=" button button--warning" > < /button>
< button class=" button button--danger" > < /button>
< button class=" button button--up" > < /button>
< button class=" button button--down" > < /button> < / code >
< button class=" button button--down" > < /button> < / code > < / pre >
< hr >
< h2 id = "table" class = "margin-top-1x" > Table< / h2 >
< code > < table class=" table table--striped" >
< pre class = "code" > < code > < table class=" table table--striped" >
< thead>
< tr>
< th> < /th>
@ -178,7 +209,7 @@
< td> < /td>
< /tr>
< /tbody>
< /table> < / code >
< /table> < / code > < / pre >
< table class = "table table--striped margin-bottom-2x" >
< thead >
@ -202,6 +233,43 @@
< / tr >
< / tbody >
< / table >
< hr / >
<!-- helpers -->
< h2 id = "helpers" class = "margin-top-1x" >
Helpers
< / h2 >
<!-- -->
< h3 class = "h4 margin-top-1x" >
Media
< / h3 >
< pre class = "code" > < code > < img class=" img-responsive" src=" https://picsum.photos/400" />
< img class=" img-fit-cover" style=" width: 100%; height: 200px;" src=" https://picsum.photos/400" />
< img class=" img-fit-contain" style=" width: 100%; height: 200px;" src=" https://picsum.photos/400" /> < / code > < / pre >
< div class = "grid" >
< div class = "col-6" >
< img class = "img-responsive" src = "https://picsum.photos/400" / >
< / div >
< div class = "col-6" >
< img class = "img-fit-cover" style = "width: 100%; height: 200px;" src = "https://picsum.photos/400" / >
< / div >
< div class = "col-6" >
< img class = "img-fit-contain" style = "width: 100%; height: 200px;" src = "https://picsum.photos/400" / >
< / div >
< / div >
< pre class = "code" > < code > < figure>
< img class=" img-responsive" src=" https://picsum.photos/400" />
< figcaption class=" text-center" > Lorem Ipsum< /figcaption>
< /figure> < / code > < / pre >
< div class = "grid" >
< div class = "col-6" >
< figure >
< img class = "img-responsive" src = "https://picsum.photos/400" / >
< figcaption class = "text-center" > Lorem Ipsum< / figcaption >
< / figure >
< / div >
< / div >
<!-- Reflex Grid -->
< hr / >
@ -241,13 +309,13 @@
< h4 class = "h6" >
Sass:
< / h4 >
< code class = "margin-bottom-1x" > @include crispy__media-md() {
< pre class = "code" > < code class = "margin-bottom-1x" > @include crispy__media-md() {
< !-- your code -->
}
@include crispy__media-md-only() {
< !-- your code -->
}< / code >
}< / code > < / pre >
< / div >
< / div >