barre nav2

This commit is contained in:
Hugo IZANIC 2023-12-29 20:15:06 +01:00
parent 8cd2c11be8
commit cd145a00d7
4 changed files with 14 additions and 11 deletions

View File

@ -5,21 +5,26 @@
body{ body{
} }
nav{ nav{
top: 0; top: 0;
left: 0;
position: fixed; position: fixed;
display: flex; display: flex;
align-content: center; align-items: center;
justify-content: center; justify-content: space-around;
background-image: url("../img/icon.png"); background: linear-gradient(45deg,orange 35%,darkred);
width: 100%; width: 100%;
} }
nav:hover{
background: linear-gradient(45deg,orange ,darkred);
}
#icone{ #icone{
@ -44,17 +49,15 @@ p{
text-decoration: none; text-decoration: none;
color: black; color: black;
margin-right: 10vh; margin-right: 10vh;
font-size: 2vh;
} }
.page:hover{ .page:hover{
color: red; color: gold;
transform: scale(1.3);
} }
footer{ footer{
background-color: black; background-color: black;
} }

0
credits.txt Normal file
View File

BIN
img/casion_background.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@ -11,12 +11,12 @@
</head> </head>
<body> <body>
<header> <header>
<nav> <nav>
<a href=""><img id="icone" src="img/icon.png" alt="icone du site"></a> <a href=""><img id="icone" src="img/icon.png" alt="icone du site"></a>
<ul> <ul>