Extending the text classes of .display-* and adding hover effects with Hover.css
In this recipe, we will extend the text classes of .display-*
and add hover effects to our links, using the Hover.css
library.
Getting ready
To get ready, download the starter code for this chapter, and refer to this chapter's starter code in the folder titled chapter03-start
. Open the app/partial/_nav.ejs
file, which is already saved with its final code. The reason for this is to have a working navbar
with links to all the recipes used in this chapter.
Note
Note that when including the .ejs
files in HTML, you can just call the filename. There is no need to use the .ejs
extension. You can see plenty of examples of this in the app/partial/_nav.ejs
anchor tags.
It is also important to note that our Gruntfile.js
is somewhat different than the one in the preceding chapter. This time, you will need to manually run grunt copy
to copy all the necessary JS dependencies. However, this needs to be done only once. Then, later...