-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path3d - Copy.css
83 lines (66 loc) · 960 Bytes
/
3d - Copy.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
\*
{
margin:0px;
padding:0px;
}
.container
{
width:100%;
height:300px;
display:flex;
justify-content: center;
align-items: center;
padding: 50px 0px;
}
.box
{
position:relative;
width:300px;
height:300px;
overflow:hidden;
border-radius:50%;
}
.box img
{
width:100%;
height:100%;
}
.inside
{
height:100%;
width:100%;
position:absolute;
top:0;
left:0;
border-width:20px;
border-style:solid;
box-sizing:border-box;
border-color:yellow black yellow black;
border-radius:50%;
transition: transform 1s;
}
.box:hover .inside
{
transform:rotate(180deg);
}
.text{
height:100%;
width:100%;
display:flex;
justify-content:center;
align-items:center;
position:absolute;
background:linear-gradient(#33A727,#7FCC61);
font-size:30px;
font-family:'oswald',sans-serif;
font-weight:bold;
text-transform:bold;
top:0;
left:0;
color:white;
opacity:0;
transition: opacity 1s;
}
.box:hover .text{
opacity:1;
}