Welcome to Gaia! ::


Anybody know a code to make the content section of a profile transparent until its hovered over?
This is on a classic profile btw...

Fashionable Fatcat

steeeno
Anybody know a code to make the content section of a profile transparent until its hovered over?
This is on a classic profile btw...

.section{
opacity:0.50;
filter:alpha(opacity=50) ;
}
.section:hover{
opacity:1.00;
filter:alpha(opacity=100) ;
}

You can make it more or less transparent by changing 0.50/50 (for before you hover) and 1.00/100 (for after you hover) to higher or lower numbers, working like percent. 0.01/1 is so transparent it's almost invisible, 1.00/100 is completely opaque, and so on. There are two different properties for the sake of crossbrowser compatibility (the regular opacity property doesn't work on Internet Explorer, so filter:alpha is there to make it work on IE), so keep the numbers between the properties the same so it looks the same on all browsers.

Also, please don't bump your thread in this forum, it's against the rules. This is a slow forum so bumps (unless the thread has fallen off the first page) are considered spam.

Retro Punk

i think Kitty's code might be your answer.

Quick Reply

Submit
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum