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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

733 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