forked from baptisteRiviere/projetWeb_escapeGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styleBouton.css
47 lines (42 loc) · 1.05 KB
/
styleBouton.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* Bouton au repos*/
.bouton1{
/*alignement dans la grille*/
text-decoration: none;
margin: auto;
margin: 15px;
padding-left: 20px;
padding-right: 20px;
padding-top: 5px;
padding-bottom: 5px;
color: white;
border-radius: 15px;
background-color: #A44A3F;
box-shadow: 0 1px 0 rgba(255,255,255,.1),
0 0 1px 1px rgba(255,255,255,.3) inset,
0 1px rgba(255,255,255,.4) inset;
border: 1px solid black;
text-shadow: 0 1px 1px rgba(0,0,0,.8);
outline:none;
display: flex;
align-items: center;
}
/* Bouton au survol*/
.bouton1:hover,
.bouton1:focus {
margin: 15px;
color: white;
background-color: #335c67;
box-shadow: 0 1px 0 rgba(255,255,255,.1),
0 0 1px 1px rgba(255,255,255,.3) inset,
0 1px rgba(255,255,255,.4) inset;
border: 1px solid black;
}
/* Bouton à l'appuis*/
.bouton1:active {
margin: 15px;
color: #335c67;
background-color: white;
box-shadow: 0 1px 2px rgba(0,0,0,.6) inset,
0 1px 0 rgba(255,255,255,.3);
border: 1px solid black;
}