Skip to content

Commit c1602fb

Browse files
author
Fumito Abe
committed
CTA ホバーアニメーション調整
1 parent 4852da0 commit c1602fb

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/components/CallToAction.vue

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,12 @@
6161

6262
</div>
6363

64-
<a class="cta-button" href="https://calendly.com/slsops/office-hours">
65-
オンライン無料相談を<br class="d-md-none" />カレンダーから予約する
66-
</a>
64+
<div class="cta-button-container">
65+
<a class="cta-button" href="https://calendly.com/slsops/office-hours">
66+
オンライン無料相談を<br class="d-md-none" />カレンダーから予約する
67+
</a>
68+
</div>
69+
6770

6871
</div>
6972

@@ -252,6 +255,10 @@
252255
}
253256
}
254257
}
258+
// フルサイズのボタン
259+
.cta-button-container {
260+
background-color: $tertiary;
261+
}
255262
.cta-button {
256263
margin-top: -80px;
257264
display: block;
@@ -265,8 +272,9 @@
265272
font-size: 24px;
266273
font-family: $font-jp-bold;
267274
line-height: 360px;
268-
transition: all 1s cubic-bezier(0.76, 0, 0.3, 1);
275+
transition: all 0.4s cubic-bezier(0.76, 0, 0.3, 1);
269276
&:hover {
277+
// background-color: $tertiary;
270278
opacity: 0.9;
271279
}
272280
@include media-breakpoint-down(md) {

0 commit comments

Comments
 (0)