• Spend the morning talking about the Float implementation of the below exercise
• Guide students through the process of implementing the float excerise
• Afternoon, move on to the Flexbox part of the exercise with a lecture about Flexbox
• Implement the 2 Top, Three Columns implementation
• Homework, complete Flex part of the exercise.
Today we will implement the second section of the drone grid with flexbox
Check if you have met all the requirements
- Grids exercise
- Download the HTML and images in the folder Homework 2
- You are going to write the CSS for this page
- You are not allowed to change the HTML
- The page contains two grids: the first one should work using floats, the second using flex box. Be careful not to mix the two!
- We want the grid to look as follows: - On mobile phones: a two column grid, with the exception that the first item spans the full width - On tablets: a three column grid, with the exception that the first two items span the full width together (so first we have two columns, then after the first two items we have three columns) - On desktops: a four column grid, with the exception that the first item spans two columns.
- There should be some space between the grid items
- Make the page look beautiful by adding some more CSS! Some tips: - How about some nice colors, fonts, hover styles? - According to the grid specification, some products are bigger than others. Maybe these are "highlighted" products, so the rest of the styling could also be different.
- BEFORE you hand it in, read the Style guide again and check your files
How to hand in your grids page:
• Upload your homework in your Github repository.
• Make sure to create a new folder "lesson5" first.
• Your sha-html-css/lesson5 should now contain an index.html and a main.css file (and the images folder)
• Place the link to your repository in Trello.