-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfightingGameCSS.css
More file actions
55 lines (52 loc) · 1.55 KB
/
fightingGameCSS.css
File metadata and controls
55 lines (52 loc) · 1.55 KB
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
48
49
50
51
52
53
54
55
body{
background-color: rgb(34,0,255);
}
.flipped {
/* taken from http://css-tricks.com/snippets/css/flip-an-image/ */
-moz-transform: scaleX(-1);
-o-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
filter: FlipH;
-ms-filter: "FlipH";
}
.button{
margin: auto;
width: 180px;
}
/* copied from http://css3buttongenerator.com/*/
.button {
background: #e30000;
background-image: -webkit-linear-gradient(top, #e30000, #f20808);
background-image: -moz-linear-gradient(top, #e30000, #f20808);
background-image: -ms-linear-gradient(top, #e30000, #f20808);
background-image: -o-linear-gradient(top, #e30000, #f20808);
background-image: linear-gradient(to bottom, #e30000, #f20808);
-webkit-border-radius: 27;
-moz-border-radius: 27;
border-radius: 27px;
font-family: Georgia;
color: #ffffff;
font-size: 51px;
padding: 8px 15px 10px 20px;
text-decoration: none;
}
/* copied from http://css3buttongenerator.com/*/
.button:hover {
background: #3cb0fd;
background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
text-decoration: none;
}
.character{
text-align: center;
display: inline-block;
}
div{
text-align: center;
font-size: x-large;
font-style: bold;
}