December 2017
Beginner
458 pages
7h 52m
English
Now, we will use an animation on the single.html page. Open the single.html file with the Sublime Text editor.
Next, we will link each of the images on the home page to the single.html page. We'll just link the first one here. In the index.html page, put the <a> tag that will go to single.html as shown in the following code:
<div class="w3-col m9 l9"> <div class="w3-row"> <div class="w3-col m4 l4 pic"> <a href="single.html"> <img src="images/1.jpg" class="w3-animate-opacity"> </a> </div>
Refresh the home page and click on the first image. This will take us ...
Read now
Unlock full access