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

Home Forums CSS Question on hovering elements

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #46577

    Hi All,

    I just went through beautiful article on [Animation using CSS3]( “Animation using CSS3”) (all of you must be aware of this).

    I have a question on point 6 (Hover over one element to affect another). I understood the event that on hovering Box3, we can animate/play with Box4. I was curious to know if we can do vice-versa too i.e. on hovering Box4, move/resize Box3.. I tried this but didn’t work out.

    [Here is the link to test fiddle]( “Here is the test fiddle”) – on hovering Box4, I am actually reducing Box3 size to 50px, but it’s not happening. Any suggestions on how to achieve this.


    You can’t select ‘parents’ of elements or ‘older’ (earlier in the DOM) siblings with CSS


    I would say that, from my limited knowledge of Jquery, these kinds of connections are **very** simple and the code is **very** short.


    here with jQuery :

    Very ineteresting, if there is opportunity to do it with css only

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