4 ms·
Sure. I use the colors peachpuff+red and green+lightgreen when I need to show a success or error/warning box. Like so: .notice { padding: 1em;
by ancarda 6y ago
Sure. I use the colors peachpuff+red and green+lightgreen when I need to show a success or error/warning box. Like so:
.notice {
padding: 1em;
border: 1px solid black;
margin-bottom: 1em;
}
.notice.warning {
background-color: peachpuff;
border-color: red;
}
.notice.success {
background-color: green;
border-color: lightgreen;
}
I think the end-result is pretty nice.
- enhdless 6y agoNice. Pasted it in a fiddle: https://jsbin.com/teyupesuqu/1/edit?html,css,output https://jsbin.com/teyupesuqu/1/edit?html,css,output