0

Guys can you give me the code Collapsing Header and Nav using Html and Css.

23rd May 2017, 2:28 PM
Ronald Alatraca
Ronald Alatraca - avatar
2 Answers
+ 5
<header> and <nav> both are sementic elements of HTML5, you can use them by applying CSS to it. like- </head> <style> .header{ position:fixed; top:0; left:0; width:100%; height:50px; } .nav{ width:100% height:100px: } </style> </head> <body> <div class="header"> Header content here </div> <div class="nav"> Navigation here </div> </body>
23rd May 2017, 3:47 PM
Sachin Artani
Sachin Artani - avatar
+ 2
Can you, please, describe a little bit more what kind of code are you looking for?
23rd May 2017, 2:45 PM
Ulisses Cruz
Ulisses Cruz - avatar