Pure Css Paper pin Icon with Notification

by muthu 2013-11-05 12:56:39

paper_pin.jpg

Html Code

<input type="checkbox" id="pointer" name="pointer" checked/>
<label for="pointer" class="pointer_text"></label>
<div class="info">
<span>Css Pointer Pin Icon</span><br/>
Css Pointer Pin Icon, Css Pointer Pin Icon, Css Pointer Pin Icon
</div>


Css Code

#pointer { display:none; }
.pointer_text{ position:absolute; left:0; right:0; margin:200px auto; display:block; width:20px; height:25px; border:5px solid #fff; border-top:5px solid #f00;
border-bottom:8px solid #f00; background:#f00; cursorRazz
ointer; }
.pointer_text:after { position:absolute; left:0; right:0; margin:33px auto; content:''; height:0; width:0; border:4px solid transparent;
border-top:35px solid #000; }
.info { opacity:0; position:absolute; left:0; right:0; margin:80px auto; padding:10px; width:180px; height:82px; background:#eee; border-radius:5px;
font-weight:100; font-size:15px; transition:.5s; }
.info span { color:#f00; font-size:18px; font-weight:500; }
.info:after { position:absolute; left:0; right:0; margin:35px auto; content:''; height:0; width:0; border:10px solid transparent; border-top:10px solid #eee; }
#pointer:checked ~ .info {opacity:1;}
541
like
0
dislike
0
mail
flag

You must LOGIN to add comments