Styling the single movie page

Styling the single movie page with CSS.

As we style the single movie page we want to avoid unnecessary repetition, so start out by using ‘movie-single.html’ from Chapter 05-10 of the Working Files, rather than retyping all the class names we have already added.

You will see that this new HTML file contains the class names and the link to style.css that we need so we can go on and just write the relatively few style declarations needed to complete this page – the title, description and the add to/delete from favourites text.

I am taking a different approach in this lesson by asking YOU to write the style selectors for the parts of the HTML I identify. I will pause the video for a few seconds each time before I tell you the answer.


Discussion

0 comments