Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #611473

    hey i found this code for changing the color of the sonar effect – the hover effect for icons with links.
    /*sonar effect*/
    @-webkit-keyframes sonarEffect {
    0% {opacity: 0.3;}
    40% {opacity: 0.5;box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);}
    100% {box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);-webkit-transform: scale(1.5);opacity: 0;}
    }
    @-moz-keyframes sonarEffect {
    0% {opacity: 0.3;}
    40% {opacity: 0.5;box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);}
    100% {box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);-moz-transform: scale(1.5);opacity: 0;}
    }
    @keyframes sonarEffect {
    0% {opacity: 0.3;}
    40% {opacity: 0.5;box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);}
    100% {box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);transform: scale(1.5);opacity: 0;}
    }

    Now i want to change it for individual classes of icons. Can i do it, this way?
    @-webkit-keyframes sonarEffect .individalclass { …}
    aso. ?

    #611677

    Hey tobego,

    You could try to turn on the custom CSS field for all ALB elements to target the elements of your choice: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/

    Best regards,
    Rikard

    #611758

    hey rikard,

    yes i will do it. Is this semantical correct? @-webkit-keyframes sonarEffect CSS CLASS { …}

    #611766

    Hey!

    Yes it look alright to me for a full list please check this link https://css-tricks.com/snippets/css/keyframe-animation-syntax/

    Regards,
    Vinay

    #611781

    Hey Vinnie, cheers. This helps a lot.
    Have a great day.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘how to change color for sonareffect on icons with links’ is closed to new replies.