Add Hover to MyPhoto via NPM:
npm install hover.css
Within the node_modules directory, there should now be a Hover directory. We will reference the minified CSS straight into our markup. Add the following link tag in the head of the MyPhoto HTML, following the existing CSS references:
<link rel="stylesheet" href="node_modules/hover.css/css/hover-
min.css" />
Let's add a Hover transition to ensure that everything is in working order.