I have bubble-like pop-up which displays on hover. I need to add a border around the bubble, but the problem is that I'm unable to add a border to the pointer of the bubble.
The arrow is made by the .bubble:after
You can view the fiddle here http://jsfiddle.net/livewirerules/c2Lh6zv6/1/
Below is the css
.bubble {
display: none;
z-index: 10;
position: absolute;
border:solid 1px red;
text-align:center;
top: 40px;
left: -20px;
width: 75px;
height: 80px;
padding: 0px;
background: #FFFFFF;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.bubble:after
{
content: '';
position: absolute;
border-style: solid;
border-width: 0 15px 15px;
border-color: #FFFFFF transparent;
display: block;
width: 0;
z-index: 1;
margin-left: -15px;
top: -15px;
left: 50%;
}
Any help will be appreciated