effet de style css index.html
This commit is contained in:
parent
1208ecf77a
commit
a25b1e7c58
@ -3,13 +3,14 @@
|
||||
|
||||
body{
|
||||
margin: 0;
|
||||
background: linear-gradient(90deg,rgba(63,94,251,0.7) 0%,rgba(252,70,107,0.7) 100%);
|
||||
background: linear-gradient(180deg,rgba(63,94,251,0.7),rgba(252,70,107,0.7) 100%);
|
||||
}
|
||||
|
||||
|
||||
header{
|
||||
margin-bottom: 10vh;
|
||||
margin-bottom: 20vh;
|
||||
}
|
||||
|
||||
nav{
|
||||
top: 0;
|
||||
left: 0;
|
||||
@ -29,6 +30,7 @@ nav:hover{
|
||||
}
|
||||
|
||||
|
||||
|
||||
#icone{
|
||||
height: 10vh;
|
||||
width: 10vw;
|
||||
@ -41,7 +43,7 @@ main{
|
||||
}
|
||||
|
||||
#cas{
|
||||
margin-top:10% ;
|
||||
box-shadow: 0 40px 60px rgba(150,0,0,0.7);
|
||||
height: 25%;
|
||||
width: 25%;
|
||||
|
||||
@ -71,40 +73,60 @@ p{
|
||||
|
||||
|
||||
.img_gauche_txt_droite{
|
||||
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: flex-end;
|
||||
align-items: center;
|
||||
margin-bottom: 10vh;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.img_gauche_txt_droite p{
|
||||
background-color: rgba(100,100,100,0.2);
|
||||
border-radius: 10px;
|
||||
background-color: rgba(250,250,250,0.2);
|
||||
border-radius: 15px;
|
||||
box-shadow: 15px 10px rgba(0,0,0,0.5);
|
||||
width: 50%;
|
||||
padding: 1%;
|
||||
}
|
||||
.img_gauche_txt_droite p:hover{
|
||||
box-shadow: -10px -15px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.img_gauche_txt_droite img{border-radius: 10px;}
|
||||
.img_gauche_txt_droite img:not(:hover){filter: saturate(0.2);}
|
||||
.img_gauche_txt_droite img:not(:hover){
|
||||
filter: saturate(0.2);
|
||||
transform: scale(0.8,0.8);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.img_droite_txt_gauche{
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: space-around;
|
||||
align-items: flex-end;
|
||||
align-items: center;
|
||||
margin-bottom: 10vh;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.img_droite_txt_gauche p{
|
||||
background-color: rgba(100,100,100,0.2);
|
||||
border-radius: 10px;
|
||||
background-color: rgba(250,250,250,0.2);
|
||||
border-radius: 15px;
|
||||
padding: 1%;
|
||||
width: 50%;
|
||||
box-shadow: 15px 10px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.img_droite_txt_gauche p:hover{
|
||||
box-shadow: -15px -10px rgba(0,0,0,0.5);
|
||||
}
|
||||
.img_droite_txt_gauche img{border-radius: 10px;}
|
||||
.img_droite_txt_gauche img:not(:hover) {filter: saturate(0.2);}
|
||||
.img_droite_txt_gauche img:not(:hover) {
|
||||
filter: saturate(0.2);
|
||||
transform: scale(0.8,0.8);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -114,6 +136,7 @@ p{
|
||||
}
|
||||
|
||||
.page{
|
||||
display: block;
|
||||
list-style-type: none;
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
@ -122,13 +145,15 @@ p{
|
||||
}
|
||||
|
||||
.page:hover{
|
||||
transform: scale(1.2,1.2);
|
||||
color: gold;
|
||||
}
|
||||
|
||||
|
||||
|
||||
footer{
|
||||
|
||||
|
||||
footer{
|
||||
background-color: orange;
|
||||
padding-bottom: 15vh;
|
||||
}
|
@ -1,5 +1,29 @@
|
||||
<!doctype html>
|
||||
<html lang="fr">
|
||||
<body>
|
||||
<p>dd</p>
|
||||
</body>
|
||||
<head>
|
||||
<title> Casino du coeur </title>
|
||||
<meta charset="utf-8">
|
||||
<link rel = "stylesheet" type = "text/css" href = "../CSS/styles.css">
|
||||
<meta name="keywords" content="casino">
|
||||
<link rel = "icon" type = "/image/png" href = "../img/icon.png">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
||||
|
||||
<nav>
|
||||
|
||||
|
||||
<a href=""><img id="icone" src="../img/icon.png" alt="icone du site"></a>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <a href= "../index.html" class="page">Page 1 </a></li>
|
||||
<li> <a href= "page_2.html" class="page">Page 2 </a></li>
|
||||
<li> <a href= "#" class="page">Page 3 </a> </li>
|
||||
<li> <a href= "page_4.html" class="page">Page 4 </a></li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
</body>
|
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 320 B |
@ -21,7 +21,7 @@
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <a href= "HTML/page_1.html" class="page">Page 1 </a></li>
|
||||
<li> <a href= "#" class="page">Page 1 </a></li>
|
||||
<li> <a href= "HTML/page_2.html" class="page">Page 2 </a></li>
|
||||
<li> <a href= "HTML/page_3.html" class="page">Page 3 </a> </li>
|
||||
<li> <a href= "HTML/page_4.html" class="page">Page 4 </a></li>
|
||||
@ -31,7 +31,7 @@
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<a href=""><img id="btn_up" src="img/arrow-up.svg"></a>
|
||||
<a href="#"><img id="btn_up" src="img/icone/arrow-up.svg" alt="icone de fleche"></a>
|
||||
|
||||
<div class="img_gauche_txt_droite">
|
||||
<img id="cas" src="img/casion_background.jpeg">
|
||||
|
Loading…
Reference in New Issue
Block a user