create nav barre for phone

This commit is contained in:
Tutur33
2023-11-25 23:33:09 +01:00
parent b69e5e88b5
commit 08713671b4
30 changed files with 105 additions and 50 deletions
+4 -4
View File
@@ -9,7 +9,7 @@
@entryPointScripts('index')
</head>
<body>
<nav id="nav" class="fixed-navbar">
<nav id="nav" class="fixed-navbar nav-light">
<ul class="nav-lien">
<li><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
@@ -30,9 +30,9 @@
@end
</ul>
</nav>
<nav class="mini-nav">
<button id="depli-nav">
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30">
<nav class="mini-nav nav-light" id="mini-nav">
<button class="depli-nav" id="depli-nav">
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 30 24">
<rect width="30" height="4" rx="2" ry="2" fill="#000" />
<rect y="10" width="30" height="4" rx="2" ry="2" fill="#000" />
<rect y="20" width="30" height="4" rx="2" ry="2" fill="#000" />