Forums

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

Home Forums CSS Classes that modify each other on hover

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41424
    ciro73
    Member

    Hi, I´m trying to make to divs from different classes change each others width. If I hover A i´ll change B´s width, and if I hover B i´ll change A´s width.

    I make it work the first way ( hover A) but for some reason I don´t know, because I´m new to css, nothing happens to A when I hover B.

    Here it goes

    Div a

    Div b

    Thanks

    #117962
    ciro73
    Member

    I got it. I added some transforms and it works!!!!!!!!!

    http://jsfiddle.net/ciro73/CDmFY/9/

    Thanks a lot Kevin.

    Can I use this function inside wordpress? Where?
    Why transformation wont work in internet explorer?

    #118003
    Andy Howells
    Participant

    Is it not worth managing the animation just in JQuery anyway since it’s already in use? Transition/Transform support is non-existant in IE8/9 – so perhaps managing the width and the transition via .animate(); with JQuery might be a viable cross browser solution?

    #118011
    ciro73
    Member

    How exactly should I use .animate();??????

    I have no idea. Can I add .animate() in my existing http://jsfiddle.net/ciro73/CDmFY/9/

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