Adding Hover to MyPhoto

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.218.84