Show content on hover

Posted on 2013-12-03
Last Modified: 2013-12-03
If you go to the following jsfiddle link

What i am trying to accomplish is when you hover over the box the .content div area will show up.   But it isn't working
Question by:stargateatlantis
LVL 18

Accepted Solution

Steven Harris earned 250 total points
ID: 39693287
Try using:

<div class='issue'><img src="" />
    <div class='issueTools'>
        <div class='content' style='color:red'>Content</span>        

.issue {
    position: relative;
    display: inline-block;
.issue .issueTools {
    position: absolute;
    bottom: 0;
    opacity: .75;
.issue .issueTools .content {
    display: none;
.issue:hover .issueTools .content {
    display: block;

Open in new window

LVL 53

Assisted Solution

COBOLdinosaur earned 250 total points
ID: 39693770
Without the transitions:

<div class='issue'><img src="" />
        <div class='content'>Content</div>        

.issue {
    background:url('') 100%;
.content {
     position: absolute;
    bottom: 0;
    opacity: .75;
.issue:hover {
       opacity: .75;
.issue:hover .content { 

Open in new window

Once you have the basic effect you can add the transitions.


Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CSS Scroll Issue 3 117
pure CSS responsive image rotation for Ecommerce Product Page images 4 32
Location of Buttons 4 15
Customizing jQuery UI Accordion CSS 3 15
Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question