test-efrei
commit
33cd9f5997
@ -0,0 +1,35 @@
|
||||
body{
|
||||
background-color: orange;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
nav ul li{
|
||||
display: inline-block;
|
||||
list-style: none;
|
||||
margin: 10px 10px;
|
||||
}
|
||||
|
||||
nav ul li a{
|
||||
color: #050404;
|
||||
text-decoration: none;
|
||||
font-size: 18px;
|
||||
position: relative;
|
||||
font-family: 'system-ui', sans-serif;
|
||||
}
|
||||
|
||||
nav ul li a::after{
|
||||
content:'';
|
||||
width: 0;
|
||||
height: 3px;
|
||||
background: #050404;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: -6px;
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
nav ul li a:hover::after{
|
||||
width: 100%;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<link rel="stylesheet" href="efrei.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul id="sidemenu">
|
||||
<li><a href="#about">À Propos</a></li>
|
||||
<li><a href="#veille">Veille</a></li>
|
||||
<li><a href="#Autres">Autres</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
<i class="fas fa-times" onclick="closemenu()"></i>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue