-
Notifications
You must be signed in to change notification settings - Fork 1
/
new.css
114 lines (103 loc) · 2.47 KB
/
new.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
112
113
114
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
* {
box-sizing: border-box;
}
body {
font-family: "Varela Round", "Quicksand", sans-serif;
background: url(image/photo_6201941550498429560_y.jpg);
background-size: cover;
background-repeat: no-repeat;
background-color: black;
}
.postcard {
width: 800px;
height: 500px;
background: rgba(255, 255, 255, 0.101);
margin: 0 auto;
border-radius: 2%;
display: flex;
justify-content: space-between;
padding: 3em;
box-shadow: 0.8em 0.8em 15px rgba(0, 0, 0, 0.3);
-ms-transform: rotate(2.5deg); /* IE 9 */
-webkit-transform: rotate(2.5deg); /* Chrome, Safari, Opera */
transform: rotate(2.5deg);
-moz-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.postcard1 {
width: 800px;
height: 500px;
background: hsla(338, 72%, 52%, 0.384);
position: absolute;
left: 24%;
-webkit-filter: blur(2px);
z-index: -1;
margin: 0 auto;
border-radius: 2%;
display: flex;
justify-content: space-between;
padding: 3em;
box-shadow: 0.8em 0.8em 15px rgba(0, 0, 0, 0.3);
-ms-transform: rotate(2.5deg); /* IE 9 */
-webkit-transform: rotate(2.5deg); /* Chrome, Safari, Opera */
transform: rotate(2.5deg);
-moz-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
h1 {
text-align: center;
font-size: 4.5em;
color: #fdfdfd;
margin-bottom: 5px;
}
/*animation*/
.postcard:hover,
.postcard:active,
.postcard:focus {
-ms-transform: rotate(0deg); /* IE 9 */
-webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
transform: rotate(0deg);
-moz-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.mail_stamp {
width: 100px;
float: right;
}
.push {
margin-bottom: 1em;
margin-top: 0.5em;
}
/*footer*/
footer {
margin: 2em auto;
text-align: center;
font-family: "Varela Round", "Quicksand", sans-serif;
color: white;
}
footer p {
font-size: 1em;
letter-spacing: 1px;
}
p span {
font-size: 30px;
font-weight: 600;
text-shadow: 0 0 20px rgb(255, 255, 255);
color: #800020;
}
p {
font-size: 22px;
font-family: cursive;
font-weight: 540;
}
.ullu {
font-size: 25px;
text-shadow: 0 0 20px rgb(255, 255, 255);
}