Skip to content
Snippets Groups Projects
Commit 8fc4f037 authored by Olivia206's avatar Olivia206
Browse files

added hover effect to cta button

parent a93dc7f5
No related branches found
No related tags found
No related merge requests found
......@@ -270,6 +270,8 @@ $block-call-to-action-background: $color-accent !default
$block-call-to-action-color: $color-background !default
$block-call-to-action-button-background: $color-background !default
$block-call-to-action-button-color: $color-text !default
$block-call-to-action-button-hover-background: $color-text-alt !default
$block-call-to-action-button-hover-color: white !default
// Block chapter
$block-chapter-layout-accent-background: $color-accent !default
......
......@@ -30,6 +30,12 @@
@include btn
background: $block-call-to-action-button-background
color: $block-call-to-action-button-color
transition: background .3s ease, color .3s ease
&:hover,
&:focus-visible,
&:focus
background: $block-call-to-action-button-hover-background
color: $block-call-to-action-button-hover-color
&:last-child
margin-bottom: 0
* + .actions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment