Jump to content

Search the Community

Showing results for tags 'css hover'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. Hi Forum,I have a problem and can't solve this in any way. I want hover effect on hovering sibling to sibling and its parent also.I explain it, When I hover cursor on younger-sibling element hover effect should apply on elder-sibling element and change the color of elder-sibling black to red and parent element should get another color as background color.is there any way to get what I want. please anyone help me. thanks in advance.html and css codes are as followed.<!-- html starts--><body><div class="parent"><div class="elder-sibling">elder-sibling</div><div class="younger-sibling">younger-sibling</div></div></body><!--html ends--><!--css starts--><style type="text/css">.parent { height: 500px; width: 600px; margin-right: auto; margin-left: auto; border: 1px solid #F00;}.elder-sibling { background-color: #000; height: 200px; width: 200px; position: absolute; color: #FFF;}.younger-sibling { background-color: #00F; height: 100px; width: 100px; position: relative; top: 250px; color: #FFF;}</style><!--css ends-->
×
×
  • Create New...