generated from github/welcome-to-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ballmenustyle.css
116 lines (97 loc) · 2.45 KB
/
ballmenustyle.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/* ballmenustyle.css */
html {
width: 100%;
height: 100%;
background:url(logo.jpg) center no-repeat;
background-size: cover;
}
body {
width: 99%;
}
.earth {
position: relative;
width: 300px;
height: 300px;
margin: 3em auto;
background: url(ktm.jpeg) 0 0 repeat;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
background-size: 630px;
animation: rotate 4s linear infinite;
-webkit-animation: rotate 4s linear infinite;
-moz-animation: rotate 4s linear infinite;
-ms-animation: rotate 4s linear infinite;
-o-animation: rotate 4s linear infinite;
-webkit-transition: -webkit-transform 200ms linear;
-webkit-transform-style: preserve-3d;
-moz-transition: -moz-transform 200ms linear;
-moz-transform-style: preserve-3d;
transition: transform 200ms linear;
transform-style: preserve-3d;
box-shadow: inset -25px -25px 40px rgba(0,0,0,.5);
/*
box-shadow: inset 10px 0 10px 6px rgba(0, 0, 0, 1);
-moz-box-shadow: inset 10px 0 10px 6px rgba(0, 0, 0, 1);
-webkit-box-shadow: inset 10px 0 10px 6px rgba(0, 0, 0, 1);
*/
color: #000;
}
.earth:before {
content: "";
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
/*
box-shadow: -10px 15px 10px 10px rgba(0,0,0,.9) inset;
-moz-box-shadow: -10px 15px 10px 10px rgba(0,0,0,.9) inset;
-webkit-box-shadow: -10px 15px 10px 10px rgba(0,0,0,.9) inset;
*/
z-index: 2;
}
.earth:after {
content: "";
position: absolute;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
width: 100%;
height: 100%;
top: 0;
left: 0;
/*
opacity: 0.8;
background: radial-gradient(circle at 100px 100px, #fff, #000);
*/
}
@keyframes rotate {
0% {background-position: 0 0;}
100% {background-position: 630px 0;}
}
@-moz-keyframes rotate {
0% {background-position: 0 0;}
100% {background-position: 630px 0;}
}
@-webkit-keyframes rotate {
0% {background-position: 0 0;}
100% {background-position: 630px 0;}
}
@-ms-keyframes rotate {
0% {background-position: 0 0;}
100% {background-position: 630px 0;}
}
@-o-keyframes rotate {
0% {background-position: 0 0;}
100% {background-position: 630px 0;}
}