|
44 | 44 | <div class="tc-l mt6 ph3">
|
45 | 45 | <h1 class="fw2 f1 white-90 mb0">This is your super impressive headline</h1>
|
46 | 46 | <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> |
48 | 48 | <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> |
50 | 50 | </div>
|
51 | 51 | </div>
|
52 | 52 | </div>
|
@@ -79,9 +79,9 @@ <h2 class="f5">HTML</h2>
|
79 | 79 | <div class="tc-l mt6 ph3">
|
80 | 80 | <h1 class="fw2 f1 white-90 mb0">This is your super impressive headline</h1>
|
81 | 81 | <h2 class="fw1 f3 white-80 mt3 mb4">Now a subheadline where explain your wonderful new startup even more</h2>
|
82 |
| - <a class="f6 link dib v-mid bg-blue white ba b--blue ph3 pv2" href="/">Call to Action</a> |
| 82 | + <a class="f6 link grow dib v-mid bg-blue white ba b--blue ph3 pv2" href="/">Call to Action</a> |
83 | 83 | <span class="dib v-mid ph3 white-70">or</span>
|
84 |
| - <a class="f6 link dib v-mid white ba b--white ph3 pv2" href="">Secondary call to action</a> |
| 84 | + <a class="f6 link grow dib v-mid white ba b--white ph3 pv2" href="">Secondary call to action</a> |
85 | 85 | </div>
|
86 | 86 | </div>
|
87 | 87 | </div>
|
@@ -309,6 +309,21 @@ <h2 class="f5">css</h2>
|
309 | 309 | vertical-align: middle;
|
310 | 310 | }
|
311 | 311 |
|
| 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 | + |
312 | 327 | .grow-large {
|
313 | 328 | -moz-osx-font-smoothing: grayscale;
|
314 | 329 | backface-visibility: hidden;
|
@@ -351,16 +366,16 @@ <h2 class="f5">css</h2>
|
351 | 366 | <h2 class="f5 mb3 mt4">Css stats for this component</h2>
|
352 | 367 | <dl class="dib mr4 mt0">
|
353 | 368 | <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> |
355 | 370 | </dd>
|
356 | 371 | </dl>
|
357 | 372 | <dl class="dib mr4 mt0">
|
358 | 373 | <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> |
360 | 375 | </dl>
|
361 | 376 | <dl class="dib mt0">
|
362 | 377 | <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> |
364 | 379 | </dl>
|
365 | 380 | </div>
|
366 | 381 | <div class="fl w-100">
|
|
0 commit comments