This commit is contained in:
Ilya Kantor 2019-08-17 13:11:08 +03:00
parent 4b9a771fc2
commit 420ab3984e
7 changed files with 10 additions and 7 deletions

View file

@ -99,7 +99,7 @@ parent.onmouseout = function(event) {
/* event.target: parent element */ /* event.target: parent element */
}; };
parent.onmouseover = function(event) { parent.onmouseover = function(event) {
/* event.target: child element */ /* event.target: child element (bubbled) */
}; };
``` ```

View file

@ -16,6 +16,7 @@
vertical-align: bottom; vertical-align: bottom;
padding-top: 5px; padding-top: 5px;
padding-bottom: 12px; padding-bottom: 12px;
cursor: pointer;
} }
#table .nw { #table .nw {
@ -62,4 +63,4 @@
#table .highlight { #table .highlight {
background: red; background: red;
} }

View file

@ -16,6 +16,7 @@
vertical-align: bottom; vertical-align: bottom;
padding-top: 5px; padding-top: 5px;
padding-bottom: 12px; padding-bottom: 12px;
cursor: pointer;
} }
#table .nw { #table .nw {
@ -62,4 +63,4 @@
#table .highlight { #table .highlight {
background: red; background: red;
} }

View file

@ -16,6 +16,7 @@
vertical-align: bottom; vertical-align: bottom;
padding-top: 5px; padding-top: 5px;
padding-bottom: 12px; padding-bottom: 12px;
cursor: pointer;
} }
#table .nw { #table .nw {
@ -62,4 +63,4 @@
#table .highlight { #table .highlight {
background: red; background: red;
} }

View file

@ -1,5 +1,5 @@
#parent { #parent {
background: #D8D8D8; background: #99C0C3;
width: 160px; width: 160px;
height: 120px; height: 120px;
position: relative; position: relative;

View file

@ -1,5 +1,5 @@
#parent { #parent {
background: #D8D8D8; background: #99C0C3;
width: 160px; width: 160px;
height: 120px; height: 120px;
position: relative; position: relative;

View file

@ -1,5 +1,5 @@
#parent { #parent {
background: #D8D8D8; background: #99C0C3;
width: 160px; width: 160px;
height: 120px; height: 120px;
position: relative; position: relative;