JSDM

HTML

 
1
  <div class="pokeball"></div>
!

CSS

x
 
1
body {
2
    font-family: Avenir, 'Helvetica Neue', 'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
3
}
4
5
.pokeball {
6
    transition:transform 1s;
7
    border-radius:100px;
8
    width: 200px;
9
    height: 200px;
10
    overflow: hidden;
11
    background: black;
12
    background-image: repeating-linear-gradient(-45deg,rgba(255,255,255,.9),rgba(255,255,255,1));
13
    box-shadow: 0 0 3px black;
14
    position: fixed;
15
  margin:auto;
16
  top:0;bottom:0;left:0;right:0
17
}
18
19
    .pokeball::before {
20
        content: "";
21
        position: absolute;
22
        height: 50%;
23
        width: 100%;
24
        display: block;
25
        background: red;
26
        background-image: repeating-linear-gradient(-45deg,rgba(255,255,255,.3),rgba(255,255,255,.5));
27
        box-shadow: 0 0 1px 1px #666;
28
    }
29
30
    .pokeball::after {
31
        content: "";
32
        position: absolute;
33
        height: 25%;
34
        width: 25%;
35
        background: white;
36
        border: 2px solid #666666;
37
        box-sizing: border-box;
38
        position: absolute;
39
        top: 0;
40
        bottom: 0;
41
        left: 0;
42
        right: 0;
43
        margin: auto;
44
        border-radius: 100px;
45
        z-index: 1;
46
        background: black;
47
        background-image: repeating-linear-gradient(-45deg,rgba(255,255,255,.95),rgba(255,255,255,1));
48
        box-shadow: 0px 0px 0px 13px #f2f2f2,0px 0px 2px 15px #666;
49
    }
50
51
    .pokeball:hover {      
52
      transform:rotate(360deg);
53
    }
54
.pokeball:hover::after{
55
56
}
!
? ?
? ?
必须是有效的URL
+ 添加另一个资源

JS

xxxxxxxxxx
1
 
1
!
必须是有效的URL
+ 添加另一个资源
Close

文件管理 点击文件查看URL

图片

  1. 暂无文件

CSS

  1. 暂无文件

JavaScript

  1. 暂无文件

其他

  1. 暂无文件
拖动文件到上面的区域或者:
加载中 ..................