[Support request] making icon responsive to hover or touch.

Home Forums Support [Support request] making icon responsive to hover or touch.

Home Forums Support making icon responsive to hover or touch.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1628361
    Raj

    hello, i’d like to know if there is code to make the images move/respond similar to what you have on your page: https://generatepress.com/premium/

    ie: when the mouse moves over the icons (site library, colors, typography, et al)–they tend to respond.

    ty

    i’m running:

    3.0.2
    1.12.3

    #1628369
    Ying
    Staff
    Customer Support

    Hi Raj,

    You could try something like this:

    .your-custom-selector:hover {
        transform: translatey(5px);
        transition: transform .5s ease,opacity .5s ease,-webkit-transform .5s ease;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.