QuestionCSS Star Transition

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by  path14 5 months, 3 weeks ago.

  • Creator
    Topic
  • #55192

    path14
    Participant

    First I’d like to say thank you. I really enjoy the plugin and everything is working the way I want it to.

    I am wondering now if its possible to add some css to the star classes to create an ease-in-out transition on hover, and if it is, which classes I’d have to use for this. I’ve tried a few things, but it’s not working out.

    Topic Information
    General Question
    5.6
    4.7
    Lite & Latest
Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #55193

    MillaN
    Keymaster

    Hi,

    I have not tried this before, and I can’t help you with it. But, plugin is changing the width of the rating element, so transitions should target width property. Again, I have not tried that before, so I can’t post examples. If any other user did that already, I would appreciate examples.

    Milan

    Dev4Press - Premium plugins for WordPress.

    #55194

    path14
    Participant

    Okay, thank you! I’ll try a few different things and post it if it works out.

    #55195

    path14
    Participant

    I got it.

    .gdrts-stars-empty:hover, .gdrts-stars-active{
    -webkit-transition: width .2s;
    transition: width .2s;
    }

    😀

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.