zent
Version:
一套前端设计语言和基于React的实现
22 lines (21 loc) • 434 B
CSS
.zent-notify {
position: fixed;
top: 80px;
left: 25%;
right: 25%;
line-height: 40px;
font-size: 14px;
color:#fff;
text-align: center;
border-radius:2px;
box-shadow:0 1px 4px rgba(0,0,0,0.4);
z-index: 10000
}
.zent-notify.zent-notify-success {
border: 1px solid #3aa074;
background: #45b182
}
.zent-notify.zent-notify-error {
border: 1px solid #e23333;
background: #ff4343
}