Bonjour !
Quelqu'un peut-il me dire ce qui ne va pas dans mon css ?
Objectifs Button :
- text-color: #FFFFFF;
- background-color: #e02661;
Button on hover:
- text-color: #FFFFFF;
- background-color: #e02661;
- text-decoration: underline;
Thanks !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 .light button, .light input[type="submit"], .light input[type="button"] { border:none; display:inline-block; text-align:center; text-decoration:none; cursor:pointer; margin-bottom:20px; line-height:normal; color:#FFFFFF; background-color:#e02661; padding:8px 12px; cursor:pointer; text-transform:uppercase; letter-spacing:0.5px; text-align:center; -webkit-transition:0.2s background linear; -moz-transition:0.2s background linear; transition:0.2s background linear; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; -webkit-background-clip:padding; -moz-background-clip:padding; background-clip:padding-box; -webkit-appearance:none; width:auto; font-family:'ralewaymedium',Helvetica,Arial,sans-serif; } .light button:hover, .light input[type="submit"]:hover, .light input[type="button"]:hover, .light button:focus, .light input[type="submit"]:focus, .light input[type="button"]:focus { color:#FFFFFF; background-color:#e02661; text-decoration:underline; border: none; }
Partager