They use AP. Or layers.
The "last" layer, the one with the text, is AP top zero, left zero, and hidden.
Code:
div.rollover-info {
color: white;
left: 0;
position: absolute;
top: 0;
}
.rollover-info-wrapper {
display: none;
}
Since it comes after the image, it will have a bigger z-index, it will stack above. The only thing left to do is to make it show, to cover the image on rollover.
Problem is they wrap div inside a:
Code:
<a href="/campaign/cocacola_music" class="rollover rollover-static rollover-medium rollover-detailed rollover-medium-detailed" content="2673" media="6286" mediaslot="2">
<img src="http://c0717682.cdn.cloudfiles.rackspacecloud.com/media/2e46a7f84d8be3f36a028.jpg" alt="" class="image">
<div class="rollover-info rollover-info-wrapper">
<div class="rollover-info rollover-background"> </div>
<div class="rollover-content">
<div class="rollover-title">Coca-Cola Music</div>
<div class="rollover-description">
<div class="description">Coca-Cola and Maroon 5 tore down the virtual walls of the recording studio and brought fans from around the world together for an unforgettable moment.<br>
<br>
Fans inspired the band as ...</div>
</div>
</div>
<div class="rollover-action-label">View</div>
</div>
<div class="tag ">
<img src="http://c0717682.cdn.cloudfiles.rackspacecloud.com/images/tags/ams.gif">
</div>
</a>
Bookmarks