|
|
#1 |
|
New Member
![]() Join Date: Jun 2012
Posts: 2
|
Hey guy's im currently designing a website for a friend and i'm looking to adding a highlight or hover effect to the seperate div tags.
I was looking to have something similar to this http://rostrumrecords.com/ when you hover over the area of the artist. Thank you for any help |
|
|
|
|
|
#2 |
|
Diamond Member
![]() Join Date: May 2012
Location: Blackpool
Posts: 1,272
|
__________________
When the mind is enlightened, the spirit is free and the body matters not. |
|
|
|
|
|
#3 |
|
New Member
![]() Join Date: Jun 2012
Posts: 2
|
I need the hover effect but not for text. I'm sure its something else but not sure what.
The site is working again, help anyone? |
|
|
|
|
|
#4 | ||
|
Diamond Member
![]() |
Quote:
Quote:
__________________
Ronald Roe Web Designer/Front-end Developer Useful: CSS-only Dropdown Menu | jQuery Help | What Should I Learn? | Box Model | Media Queries |
||
|
|
|
|
|
#5 |
|
Diamond Member
![]() Join Date: May 2012
Location: Blackpool
Posts: 1,272
|
__________________
When the mind is enlightened, the spirit is free and the body matters not. |
|
|
|
|
|
#6 |
|
Silver Member
![]() Join Date: Nov 2010
Location: Lincoln, United Kingdom
Posts: 116
|
Code:
<!DOCTYPE html>
<html>
<head>
<title>CSS Hover Pseudo</title>
<style>
body { margin:20px; padding:0; background:#000; }
div.example { padding:10px; width:200px; height:350px; font-family:Arial; font-size:12px; font-weight:bold; border:1px solid #DADADA; color:#fff; }
div.example:hover { background:#DADADA; color:#000; }
</style>
</head>
<body>
<div class="example">
Hover over me!
</div>
</body>
</html>
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|