-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoriginal.css
78 lines (76 loc) · 1.64 KB
/
original.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
.box {
width: 150px;
height: 150px;
background-color: red;
}
button {
width: 80px;
height: 30px;
margin-top: 10px;
border: none;
border-radius: 8px;
background-color: #000;
color: #fff;
cursor: pointer;
outline: none;
}
.circle {
width: 80px;
height: 80px;
background-color: blue;
display: block;
margin-top: 10px;
border-radius: 100%;
}
.heart {
display: inline-block;
position: relative;
width: 100px;
height: 90px;
margin-top: 10px;
}
.heart:before,
.heart:after {
position: absolute;
content: "";
left: 50px;
top: 0;
width: 50px;
height: 80px;
background: red;
-moz-border-radius: 50px 50px 0 0;
border-radius: 50px 50px 0 0;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transform-origin: 0 100%;
-moz-transform-origin: 0 100%;
-ms-transform-origin: 0 100%;
-o-transform-origin: 0 100%;
transform-origin: 0 100%;
}
.heart:after {
left: 0;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transform-origin: 100% 100%;
-moz-transform-origin: 100% 100%;
-ms-transform-origin: 100% 100%;
-o-transform-origin: 100% 100%;
transform-origin :100% 100%;
}
.black{
width: 150px;
height: 50px;
line-height: 50px;
text-align: center;
background-color: black;
margin-bottom: 30px;
margin-top: 30px;
color: #fff;
}