WEBLEB
Home
AI Editor
Login
Pro
English
English
Français
Español
HTML
CSS
JS
Menu avec Logo
MONSHOP
Accueil
Produits
Boutique
Contact
* { margin: 0; padding: 0; box-sizing: border-box; } /* Navbar */ nav { display: flex; justify-content: space-between; align-items: center; background-color: #111; padding: 15px 40px; } /* Logo */ .logo { color: #00c896; font-size: 22px; font-weight: bold; } /* Menu */ nav ul { list-style: none; display: flex; } nav ul li { margin-left: 25px; } nav ul li a { text-decoration: none; color: white; font-size: 17px; transition: 0.3s; } nav ul li a:hover { color: #00c896; } /* Responsive */ @media (max-width: 768px) { nav { flex-direction: column; } nav ul { margin-top: 10px; flex-direction: column; align-items: center; } nav ul li { margin: 10px 0; } }
/* Replace with your JS Code (Leave empty if not needed) */
Preview
Open Advanced Editor
Publish Code
Full Screen
HTML
CSS
JS
Menu avec Logo
MONSHOP
Accueil
Produits
Boutique
Contact
* { margin: 0; padding: 0; box-sizing: border-box; } /* Navbar */ nav { display: flex; justify-content: space-between; align-items: center; background-color: #111; padding: 15px 40px; } /* Logo */ .logo { color: #00c896; font-size: 22px; font-weight: bold; } /* Menu */ nav ul { list-style: none; display: flex; } nav ul li { margin-left: 25px; } nav ul li a { text-decoration: none; color: white; font-size: 17px; transition: 0.3s; } nav ul li a:hover { color: #00c896; } /* Responsive */ @media (max-width: 768px) { nav { flex-direction: column; } nav ul { margin-top: 10px; flex-direction: column; align-items: center; } nav ul li { margin: 10px 0; } }
/* Replace with your JS Code (Leave empty if not needed) */
Preview
Validating your code, please wait...