From the course: Creating a Responsive Web Design: Advanced Techniques
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Adjusting the logo to overlap the menu - CSS Tutorial
From the course: Creating a Responsive Web Design: Advanced Techniques
Adjusting the logo to overlap the menu
- Now we need to restyle the logo and make a few minor laylo adjustments before we can start adding in some JavaScript. Now in the previous course we added a semi-transparent background to the logo, because the navigation element was being moved from the top of the screen down to below the content. Which means we didn't have that interplay with the semi-transparency for the logo. But now that we have the navigation element in the header area at all times, we can go back into our CSS and change those properties to make the logo semi-transparent. So let's go back to our CSS file, let's make sure we're inside of the media query which is targeting a maximum width of 625, let's find the header logo, let's find the width property and let's come in here and let's change the width to 125 pixels. Let's come over to the height, let's set this to 52 pixels. Next for the left positioning property we're going to set that to 10. The top property we're going to set that to 10 and then we're going to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
About this lesson46s
-
(Locked)
Relocating the nav element4m 33s
-
(Locked)
Adding a mobile link button4m 43s
-
(Locked)
Removing the header height restrictions2m 2s
-
Restyling the mobile menu2m 22s
-
(Locked)
Adjusting the logo to overlap the menu3m 58s
-
(Locked)
Adding JavaScript and jQuery to your project5m 32s
-
(Locked)
Attaching a click event to the mobile menu button4m 4s
-
(Locked)
Animating the height of the navigation4m 51s
-
(Locked)
Removing the style attribute from the nav element5m 21s
-
(Locked)
Where to go from here25s
-
(Locked)
-
-