Counter notification CSS on inbox top
Cool Counter Notification CSS
HTML
HTML
<h1>Reminder</h1> <div class="app-box"> <div class="reminder red-shadow"> <p class="app-title">Inbox</p> <div class="notifications red">5</div> </div> </div> <div class="app-box"> <div class="reminder green-shadow"> <p class="app-title">Inbox</p> <div class="notifications green">5</div> </div> </div> <div class="app-box"> <div class="reminder blue-shadow"> <p class="app-title">Inbox</p> <div class="notifications blue">5</div> </div> </div> <div class="app-box"> <div class="reminder yellow-shadow"> <p class="app-title">Inbox</p> <div class="notifications yellow">5</div> </div> </div> <div class="app-box"> <div class="reminder purple-shadow"> <p class="app-title">Inbox</p> <div class="notifications purple">5</div> </div> </div>CSS
body { background: #282e3a; color: #f9f9f9; font: 100%/1.5em"Droid Sans", sans-serif; margin: 10px; } .app-box { width: 50px; margin-top:35px; } .app-title { font-size: 24px; font-weight: bold; text-align: center; margin: 0px; padding: 0px; padding-top: 10px; } .reminder { background: #474b59; height: 45px; margin-bottom: 24px; position: relative; width: 200px; } .notifications { border: 5px solid #f9f9f9; border-radius: 50%; height: 40px; font-size: 20px; font-weight: bold; left: 90%; line-height: 40px; margin: -24px 0 0 -24px; position: absolute; text-align: center; top: 0; width: 40px; } .red { background: #d9383c; } .red-shadow { -webkit-box-shadow: 4px 4px 6px rgba(217, 56, 60, 0.75); -moz-box-shadow: 4px 4px 6px rgba(217, 56, 60, 0.75); box-shadow: 4px 4px 6px rgba(217, 56, 60, 0.75); } .green { background: #4cbe83; } .green-shadow { -webkit-box-shadow: 4px 4px 6px rgba(76, 190, 131, 0.75); -moz-box-shadow: 4px 4px 6px rgba(76, 190, 131, 0.75); box-shadow: 4px 4px 6px rgba(76, 190, 131, 0.75); } .blue { background: #6cc8d4; } .blue-shadow { -webkit-box-shadow: 4px 4px 6px rgba(108, 200, 212, 0.75); -moz-box-shadow: 4px 4px 6px rgba(108, 200, 212, 0.75); box-shadow: 4px 4px 6px rgba(108, 200, 212, 0.75); } .yellow { background: #feb742; } .yellow-shadow { -webkit-box-shadow: 4px 4px 6px rgba(254, 183, 66, 0.75); -moz-box-shadow: 4px 4px 6px rgba(254, 183, 66, 0.75); box-shadow: 4px 4px 6px rgba(254, 183, 66, 0.75); } .purple { background: #9d5da0; } .purple-shadow { -webkit-box-shadow: 4px 4px 6px rgba(157, 93, 160, 0.75); -moz-box-shadow: 4px 4px 6px rgba(157, 93, 160, 0.75); box-shadow: 4px 4px 6px rgba(157, 93, 160, 0.75); }
Counter notification CSS on inbox top
Reviewed by Bhaumik Patel
on
5:58 PM
Rating: