Harvard Extension School
CSCI E-12 Fundamentals of Web Site Development
| Fall 2021
◁ previous
Slide 18
Responsive Navigation
CSS to set initial state of navigation
For small screen:
set 'click' event for menu toggle
add or remove (i.e. 'toggle') a class that controls hidden or expanded.
◁ previous
Slide 18