en.javascript.info/2-ui/2-events/03-event-delegation/1-hide-message-delegate/solution.view/messages.css
Ilya Kantor ab9ab64bd5 up
2017-03-21 14:41:49 +03:00

37 lines
No EOL
505 B
CSS

body {
margin: 10px auto;
width: 470px;
}
h3 {
margin: 0;
padding-bottom: .3em;
padding-right: 20px;
font-size: 1.1em;
}
p {
margin: 0;
padding: 0 0 .5em;
}
.pane {
background: #edf5e1;
padding: 10px 20px 10px;
border-top: solid 2px #c4df9b;
position: relative;
}
.remove-button {
position: absolute;
font-size: 110%;
top: 0;
color: darkred;
right: 10px;
display: block;
width: 24px;
height: 24px;
border: none;
background: transparent;
cursor: pointer;
}