Skip to content

Commit 3f42182

Browse files
author
mrmrs
committed
Update components
1 parent cfdce6c commit 3f42182

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

components/headers/startup-hero/index.html

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
<div class="tc-l mt6 ph3">
4545
<h1 class="fw2 f1 white-90 mb0">This is your super impressive headline</h1>
4646
<h2 class="fw1 f3 white-80 mt3 mb4">Now a subheadline where explain your wonderful new startup even more</h2>
47-
<a class="f6 link dib v-mid bg-blue white ba b--blue ph3 pv2" href="/">Call to Action</a>
47+
<a class="f6 link grow dib v-mid bg-blue white ba b--blue ph3 pv2" href="/">Call to Action</a>
4848
<span class="dib v-mid ph3 white-70">or</span>
49-
<a class="f6 link dib v-mid white ba b--white ph3 pv2" href="">Secondary call to action</a>
49+
<a class="f6 link grow dib v-mid white ba b--white ph3 pv2" href="">Secondary call to action</a>
5050
</div>
5151
</div>
5252
</div>
@@ -79,9 +79,9 @@ <h2 class="f5">HTML</h2>
7979
&lt;div class=&quot;tc-l mt6 ph3&quot;&gt;
8080
&lt;h1 class=&quot;fw2 f1 white-90 mb0&quot;&gt;This is your super impressive headline&lt;/h1&gt;
8181
&lt;h2 class=&quot;fw1 f3 white-80 mt3 mb4&quot;&gt;Now a subheadline where explain your wonderful new startup even more&lt;/h2&gt;
82-
&lt;a class=&quot;f6 link dib v-mid bg-blue white ba b--blue ph3 pv2&quot; href=&quot;/&quot;&gt;Call to Action&lt;/a&gt;
82+
&lt;a class=&quot;f6 link grow dib v-mid bg-blue white ba b--blue ph3 pv2&quot; href=&quot;/&quot;&gt;Call to Action&lt;/a&gt;
8383
&lt;span class=&quot;dib v-mid ph3 white-70&quot;&gt;or&lt;/span&gt;
84-
&lt;a class=&quot;f6 link dib v-mid white ba b--white ph3 pv2&quot; href=&quot;&quot;&gt;Secondary call to action&lt;/a&gt;
84+
&lt;a class=&quot;f6 link grow dib v-mid white ba b--white ph3 pv2&quot; href=&quot;&quot;&gt;Secondary call to action&lt;/a&gt;
8585
&lt;/div&gt;
8686
&lt;/div&gt;
8787
&lt;/div&gt;
@@ -309,6 +309,21 @@ <h2 class="f5">css</h2>
309309
vertical-align: middle;
310310
}
311311

312+
.grow {
313+
-moz-osx-font-smoothing: grayscale;
314+
backface-visibility: hidden;
315+
transform: translateZ(0);
316+
transition: transform .25s ease-out;
317+
}
318+
319+
.grow:hover, .grow:focus {
320+
transform: scale(15);
321+
}
322+
323+
.grow:active {
324+
transform: scale(.90);
325+
}
326+
312327
.grow-large {
313328
-moz-osx-font-smoothing: grayscale;
314329
backface-visibility: hidden;
@@ -351,16 +366,16 @@ <h2 class="f5">css</h2>
351366
<h2 class="f5 mb3 mt4">Css stats for this component</h2>
352367
<dl class="dib mr4 mt0">
353368
<dt class="db f6">Gzipped Size</dt>
354-
<dd class="ml0 b f3 f2-ns">936<small class="f6">B</small>
369+
<dd class="ml0 b f3 f2-ns">962<small class="f6">B</small>
355370
</dd>
356371
</dl>
357372
<dl class="dib mr4 mt0">
358373
<dt class="db f6">Selectors</dt>
359-
<dd class="ml0 b f3 f2-ns">59</dd>
374+
<dd class="ml0 b f3 f2-ns">63</dd>
360375
</dl>
361376
<dl class="dib mt0">
362377
<dt class="db f6">Declarations</dt>
363-
<dd class="ml0 b f3 f2-ns">68</dd>
378+
<dd class="ml0 b f3 f2-ns">74</dd>
364379
</dl>
365380
</div>
366381
<div class="fl w-100">

0 commit comments

Comments
 (0)