- Add style on button top bar
This commit is contained in:
Mathis Degryck
2024-08-12 18:46:14 +02:00
parent e16faf4f27
commit d8adb7fbd5
8 changed files with 22 additions and 2 deletions

View File

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* home.css :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: marvin <marvin@student.42.fr> +#+ +:+ +#+ */
/* By: madegryc <madegryc@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/07 12:00:55 by edbernar #+# #+# */
/* Updated: 2024/08/10 16:56:50 by marvin ### ########.fr */
/* Updated: 2024/08/12 18:26:31 by madegryc ### ########.fr */
/* */
/* ************************************************************************** */
@ -49,6 +49,26 @@ body {
gap: 25%;
}
#topButton p {
position: relative;
}
#topButton p:after {
content: "";
position: absolute;
background-color: white;
height: 3px;
width: 0%;
left: 0;
bottom: 1px;
transition: 0.3s;
}
#topButton p:hover:after {
/* color: blue; */
width: 100%;
}
#topBar h1 {
margin: 0;
padding: 0;