PHP код:
.message
{
position: realtive;
display: block;
left: 0;
right: 20px;
width: 300px;
z-index: 9999;
padding: 15px;
margin: 10px;
border: 1px solid transparent;
border-radius: 4px;
color: #fff;
}
.message-default
{
background: rgba(39,44,49,0.7);
}
.message-success
{
background: rgba(0, 255, 0, 0.7);
}
.message-error
{
background: rgba(255, 0, 0, 0.7);
}
.message-warning
{
background: rgba(255, 234, 0, 0.7);
}
#message-items
{
float:left;
position: absolute;
display: inline-block;
left: 0;
bottom: 15px;
}
.close
{
float: right;
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}