I am doing some mistakes on how to show a div when you hover with mouse on Icon text.
The problem is that my div comes out when you hover on the entire line of my title. Where is my problem in the sass or in the structure of the page, o both? I want my div coming out on mouse hover just in the Icon info
You can also see the example here: http://codepen.io/anon/pen/gduJF
Here my HTML:
<div id="spinCastJs">
<div id="spintitle">
<h1>Example<span id="spininfo">i</span></h1>
<div id="instructions">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text</p>
</div>
</div>
</div>
and styles
#spinCastJs
#spintitle
background: #ddd
padding: 6px
h1
text-align: center
color: #04677e
font-weight: bold
font-size: 1.2em
#instructions
display: none
position: absolute
background: #ffffff
right: 0px
height: 100px
#spininfo
float: right
font-style: normal
font-size: 1.1em
background: #ddd
height: 50px
width: 18px
color: #ffffff
border-radius: 3px
background: #bf24bf
&:hover
#instructions
display: block
border: 1px solid #ddd