I am wondering if there is a way to create a Menu dropdown with css. Meaning it shows up as the background when you hover over a menu choice and then there is a dropdown list. The catch is, I want the top to be different from the bottom. I have attached an image to explain what I would like to accomplish with CSS.
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.
Then you just need to pass your date to the function.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors.
Create your external css file by saving it as style.css then set up your style tags:
Reference the nav tag and set your prop…
Learn how to create flexible layouts using relative units in CSS. New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).