JSFiddle - React, Tailwind, and code Playground
by BoxMan0617
HTML
<div class="notification">
<div class="icon-alert"></div>
<div class="text">This is a notification</div>
</div>
CSS
body {
background-color: #661;
}
.notification {
margin-top: 10px;
margin-left: 10px;
width: 300px;
height: 60px;
background: -moz-linear-gradient(top, rgba(127,151,163,0.5) 0%, rgba(127,151,163,0.5) 1%, rgba(127,151,163,0.5) 34%, rgba(89,106,114,0.5) 70%, rgba(89,106,114,0.5) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(127,151,163,0.5)), color-stop(1%,rgba(127,151,163,0.5)), color-stop(34%,rgba(127,151,163,0.5)), color-stop(70%,rgba(89,106,114,0.5)), color-stop(100%,rgba(89,106,114,0.5))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(127,151,163,0.5) 0%,rgba(127,151,163,0.5) 1%,rgba(127,151,163,0.5) 34%,rgba(89,106,114,0.5) 70%,rgba(89,106,114,0.5) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(127,151,163,0.5) 0%,rgba(127,151,163,0.5) 1%,rgba(127,151,163,0.5) 34%,rgba(89,106,114,0.5) 70%,rgba(89,106,114,0.5) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(127,151,163,0.5) 0%,rgba(127,151,163,0.5) 1%,rgba(127,151,163,0.5) 34%,rgba(89,106,114,0.5) 70%,rgba(89,106,114,0.5) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(127,151,163,0.5) 0%,rgba(127,151,163,0.5) 1%,rgba(127,151,163,0.5) 34%,rgba(89,106,114,0.5) 70%,rgba(89,106,114,0.5) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#807f97a3', endColorstr='#80596a72',GradientType=0 ); /* IE6-9 */
border-radius: 50px;
position: relative;
}
.notification .text {
border-left: 1px solid #b6bfc6;
position: absolute;
left: 70px;
height: 50px;
padding: 5px 4px;
}