Hi,
ich habe eine Sprechblase via CSS gestaltet und diese soll erst erscheinen, wenn man mit der Maus auf ein anderen DIV klickt/drübergeht.
Dieser hier soll die Sprechblase anzeigen lassen:
<div id="useronline_user"></div>
Code
- .commentspc_green {
- position: relative;
- background: #6CBF09;
- border-radius: .4em;
- height: auto;
- padding: 8px;
- color: #fff;
- text-shadow: 1px 1px 0px rgba(0,0,0,0.4);
- width: 260px;
- margin-top: -70px;
- bottom: 20px;
- }
- .commentspc_green:after {
- content: '';
- position: absolute;
- bottom: 0;
- left: 50%;
- width: 0;
- height: 0;
- border: 10px solid transparent;
- border-top-color: #6CBF09;
- border-bottom: 0;
- margin-left: -10px;
- margin-bottom: -10px;
- }
- ---- CSS Code von der Sprechblase ----
Habe schon gegoogelt, aber nicht so wirklich das richtige gefunden..