I'm puzzled as to why the "grow" class for image pop up is not working even though it's included in the echo script.
Here is the PHP code snippet:
echo "<a href='$file'><img class='grow' src='$file' alt='$filename'></a><br>";
Below is the CSS code section:
.grow img {
transition:transform 0.25s ease;
}
.grow img:hover {
-webkit-transform:scale(1.2);
transform:scale(1.2);
}
The functionality was present before I attempted to add it to a CSS class. What could be going wrong?
Your assistance would be highly valued.