Line 12: | Line 12: | ||
} | } | ||
− | #myImg:hover {opacity: 0.7;} | + | #myImg:hover {opacity: 0.7; z-index: -1;} |
</style> | </style> | ||
Line 45: | Line 45: | ||
// When the user clicks on <span> (x), close the modal | // When the user clicks on <span> (x), close the modal | ||
− | span.onclick = function() { | + | span.onclick = function() { |
modal.style.display = "none"; | modal.style.display = "none"; | ||
} | } |
Revision as of 19:59, 10 August 2018
×