en.javascript.info/02-ui/02-events-and-interfaces/04-event-bubbling/both/example.css
Ilya Kantor f301cb744d init
2014-10-26 22:10:13 +03:00

28 lines
395 B
CSS
Executable file

form {
background-color: green;
position: relative;
width: 150px;
height: 150px;
text-align: center;
cursor: pointer;
}
div {
background-color: blue;
position: absolute;
top: 25px;
left: 25px;
width: 100px;
height: 100px;
}
p {
background-color: red;
position: absolute;
top: 25px;
left: 25px;
width: 50px;
height: 50px;
line-height: 50px;
margin: 0;
}