0
Guys can you give me the code Collapsing Header and Nav using Html and Css.
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>
+ 2
Can you, please, describe a little bit more what kind of code are you looking for?