Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7890845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:27:46+00:00 2026-06-03T06:27:46+00:00

I have the following CSS animation: .border-strobe { -webkit-animation: border-strobe-animation 1.5s infinite ease-in-out; }

  • 0

I have the following CSS animation:

.border-strobe {
     -webkit-animation: border-strobe-animation 1.5s infinite ease-in-out;
}

@-webkit-keyframes border-strobe-animation {
    0% {border:2px solid #FF1d38;}
    50% {border:2px solid #000000;}
    100% {border:2px solid #FF1d38;}
}

Basically, what I want to do is:

• On hover (so .border-strobe:hover) for example, I want to change the border colour to #FF1D38.

• Once I move off the hover, I want to simply let the animation run it’s normal course.

The problem however, is that I have a few elements on the pages with the class .border-strobe and I want to keep them in time.

Is there a simple way to override the border colour using hover and keep the animations consistent with each other, or is it currently not possible to do this?

Does that make sense?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:27:48+00:00Added an answer on June 3, 2026 at 6:27 am

    Is there a reason why you want to let the animation continue running its normal course?

    If your hover color you want is the same as the animation’s beginning and end, why don’t you kill the animation on hover while having the border color being defined in the hover class?

    Here’s the closest I could get: http://jsfiddle.net/xsjJy/

    UPDATE

    I can’t believe I didn’t think of it before! If you’re willing to alter the HTML, you can throw in a mask span (or div or whatever you want), and just have that change the border when you hover over the border-strobe.

    Here’s the jsFiddle update: http://jsfiddle.net/xsjJy/2/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following CSS: table tbody tr:last-child td { padding-top: 7px; border-bottom: 0; }
I have the following CSS in my header: <style type=text/css> table, td { border-color:
Given the following CSS3 animation.... <style type=text/css media=screen> .drop_box { -webkit-animation-name: drop; -webkit-animation-duration: 2s;
I have following CSS code and my floats are dropping out of their containers.
I have the following CSS (3) class: .VisiblePage { -webkit-box-shadow: none; -webkit-transform: rotate(0deg); }
I have a class with the following type of css animaton .cssanimation { -webkit-transition:
I have the following css: .btn_container { cursor: pointer; font-family: Tahoma,Verdana,Arial; font-size: 11px; padding:
I have the following css file: /*! * http://meyerweb.com/eric/tools/css/reset/ * v2.0 | 20110126 *
I have the following css code h1, h2, h3, h4 { color: #333; font-size:
I have the following CSS on my HTML page: <style type=text/css> .hidden {display:none;} .visible

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.