Skip to content
Snippets Groups Projects
Commit 1161c95c authored by Shraddha Raghuram's avatar Shraddha Raghuram
Browse files

playing around with hover function

parent 935e06c8
No related branches found
No related tags found
No related merge requests found
Pipeline #406243 passed
......@@ -136,7 +136,7 @@
for (i = 0; i < 7; i++){
items[i].children[0].style.color = "#62D881";
}
// el.children[0].style.color = "#185A4F";
el.children[0].style.color = "#185A4F";
if (el.children.length > 1){
let son = el.children[1];
if (getComputedStyle(son,null)["display"]=="none"){
......@@ -158,7 +158,7 @@
}
function leave(el){
for (i = 0; i < 7; i++){
items[i].children[0].style.color = "#185A4F";
items[i].children[0].style.color = "#62D881";
}
if (el.children.length > 1){
let son = el.children[1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment