Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS transition only for transform:scale ?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43224
    Rugg
    Participant

    Hello everyone,

    Here’s the situation…

    I have an element being animated with both jQuery and CSS. The jQuery animation is inheriting the transition from CSS, causing additional lag. The CSS transition only needs to be used when the element scales via transform. _(i.e. image size on hover)_

    Is there a method for targeting only the **transform: scale()** for the css transition? Or perhaps a way to exclude CSS transitions from firing during the jQuery animation?

    If anyone has some incite on how to tackle this shit…I’d much appreciate your time…

    Thanks

    #127366
    CrocoDillon
    Participant

    `transition: transform 0.1s ease;` probably.

    #127374
    CrocoDillon
    Participant

    Vendor prefixes were implied :P You’re welcome!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.