1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
.icon-success { color: #468847 } .icon-error { color: #b94a48 } .icon-fade-out { opacity: 1; animation: icon-fadeout 5s linear forwards } @keyframes icon-fadeout { 0% { opacity: 1 } 100% { opacity: 0 } }