|
|
@ -331,7 +331,11 @@ |
|
|
|
Hero |
|
|
|
</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> |
|
|
|
<pre class="code"><code><div class="hero" style="height: 300px; background-image: url('https://picsum.photos/1024')"></div></code></pre> |
|
|
|
<div class="hero" style="height: 300px; background-image: url('https://picsum.photos/1024')"></div> |
|
|
|
<pre class="code margin-top-3"><code><div class="hero hero--top" style="height: 300px; background-image: url('https://picsum.photos/1024')"></div></code></pre> |
|
|
|
<div class="hero hero--top" style="height: 300px; background-image: url('https://picsum.photos/1024')"></div> |
|
|
|
<pre class="code margin-top-3"><code><div class="hero hero--bottom" style="height: 300px; background-image: url('https://picsum.photos/1024')"></div></code></pre> |
|
|
|
<div class="hero hero--bottom" style="height: 300px; background-image: url('https://picsum.photos/1024')"></div> |
|
|
|
|
|
|
|
<!-- icons --> |
|
|
@ -867,6 +871,38 @@ $crispy__spacing__steps: 7; |
|
|
|
Mixins |
|
|
|
</h2> |
|
|
|
|
|
|
|
<!-- mixins / triangle --> |
|
|
|
<h3 class="h4 margin-top-1x"> |
|
|
|
Triangle |
|
|
|
</h3> |
|
|
|
<h4 class="h6 margin-top-1x">Sass:</h4> |
|
|
|
<pre class="code"><code>.triangle-left, .triangle-right, .triangle-top, .triangle-bottom { |
|
|
|
display: block; |
|
|
|
} |
|
|
|
|
|
|
|
.triangle-left { |
|
|
|
@include triangle('left', $crispy__color-primary); |
|
|
|
} |
|
|
|
|
|
|
|
.triangle-right { |
|
|
|
@include triangle('right', $crispy__color-primary); |
|
|
|
} |
|
|
|
|
|
|
|
.triangle-top { |
|
|
|
@include triangle('top', $crispy__color-primary); |
|
|
|
} |
|
|
|
|
|
|
|
.triangle-bottom { |
|
|
|
@include triangle('bottom', $crispy__color-primary); |
|
|
|
} |
|
|
|
</code></pre> |
|
|
|
<p> |
|
|
|
<span class="triangle-right"></span> |
|
|
|
<span class="triangle-left"></span> |
|
|
|
<span class="triangle-top"></span> |
|
|
|
<span class="triangle-bottom"></span> |
|
|
|
</p> |
|
|
|
|
|
|
|
<!-- mixins / media-queries --> |
|
|
|
<h3 class="h4 margin-top-1x"> |
|
|
|
Media Queries |
|
|
|