Jump to content

Button Hover Delays

Recommended Posts

Hi, I am having a tiny issue where I've added a custom hover on my buttons. It works, but it feels like there is the tiniest delay on the colour of the type roll over vs the drop shadow roll over effect where the drop shadow happens before the text colour? its very tiny but feels off to me

 

on my regular buttons I am using:

.sqs-block-button-element:hover
   {
     background-color:#F6F4F1!important;
 color: #F42D27!important;
   box-shadow: 5px 5px #F42D27;
  }

 

and header

 

.header-actions .btn:hover
   {
     background-color:#F6F4F1!important;
 color: #F42D27!important;
   box-shadow: 5px 5px #F42D27;
  }

I want when it rolls over to be the same colour as the website background but the font change colour and a box shadow drop , ive tried the background colour to be the same and transparent but i still notice the slightest delay

any help is appreciated

 

site is https://flugelhorn-seahorse-lzrb.squarespace.com/?p&p

pw:design

 

Screen Shot 2021-08-02 at 2.06.22 PM.png

Link to comment
  • Replies 2
  • Views 831
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

12 hours ago, jenniferboddam said:

Hi, I am having a tiny issue where I've added a custom hover on my buttons. It works, but it feels like there is the tiniest delay on the colour of the type roll over vs the drop shadow roll over effect where the drop shadow happens before the text colour? its very tiny but feels off to me

 

on my regular buttons I am using:

.sqs-block-button-element:hover
   {
     background-color:#F6F4F1!important;
 color: #F42D27!important;
   box-shadow: 5px 5px #F42D27;
  }

 

and header

 

.header-actions .btn:hover
   {
     background-color:#F6F4F1!important;
 color: #F42D27!important;
   box-shadow: 5px 5px #F42D27;
  }

I want when it rolls over to be the same colour as the website background but the font change colour and a box shadow drop , ive tried the background colour to be the same and transparent but i still notice the slightest delay

any help is appreciated

 

site is https://flugelhorn-seahorse-lzrb.squarespace.com/?p&p

pw:design

 

Screen Shot 2021-08-02 at 2.06.22 PM.png

Try adding to Design > Custom CSS

a.sqs-block-button-element--small.sqs-block-button-element {
    transition: unset !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.