Is there a way to shift the question mark on hover to the top right corner of the white box instead of the bottom left corner?
<div class="panel panel-default">
<div class="panel-heading">
Test
</div>
<div class="panel-body">
<div id="rptTitle">
<br />
<br />
Text here....... text here......
<br />
<br />
</div>
<div class="questionBox" data-original-title="More Information" data-toggle="tooltip" data-placement="top">
<i class="fa fa-question-circle grayColor"></i>
</div>
</div>
</div>
CSS:
.grayColor {
color: #A6A6A6;
}
.panel {
cursor: pointer;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #fff;
opacity: 0.8;
}
.panel:hover {
cursor: pointer;
border: 1px solid #eee;
background: #fff none repeat scroll 0 0;
opacity: 1;
}
.panel:hover .panel-heading {
background-color: #f6f6f6;
}
.panel .questionBox i {
font-size: 15px;
display: none;
}
.panel:hover .questionBox i {
font-size: 15px;
display: block;
}
I attempted using position:absolute;
and adjusting with right, top
but it did not work well with multiple divs.
UPDATE: