Hey there i created this little speech bubble tooltip, where the arrow is at the bottom:
http://jsfiddle.net/QNPYQ/
.bubble:after {
border-color: #EEEEEE rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
border-style: solid;
border-width: 26px;
bottom: -52px;
content: "";
display: block;
height: 0;
left: 4em;
position: absolute;
width: 0;
}
Anybody could tell me how to make the arrow at the top of the <div>
?
You could rotate the arrow and place it according to top
.bubble:after {
border-color: #EEEEEE rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
border-style: solid;
border-width: 26px;
top: -52px;
content: "";
display: block;
height: 0;
left: 4em;
position: absolute;
width: 0;
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
An example : http://jsfiddle.net/QNPYQ/1/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With