-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCutted Corners.html
137 lines (112 loc) · 2.67 KB
/
Cutted Corners.html
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html>
<head>
<title>Thanks</title>
<link href="https://fonts.googleapis.com/css?family=Nanum+Gothic&display=swap" rel="stylesheet">
<style type="text/css">
.example_a {
color: #fff !important;
text-transform: uppercase;
text-decoration: none;
background: #ed3330;
padding: 20px;
border-radius: 5px;
display: inline-block;
border: none;
transition: all 0.4s ease 0s;
}
.example_a:hover {
background: #B87C0F;
letter-spacing: 1px;
-webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
-moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
transition: all 0.4s ease 0s;
}
body{
background-color: #F1F1F1;
font-family: 'Nanum Gothic', sans-serif;
text-align: center;
}
.centered {
}
.borderDiv {
border: 10px solid #CB5A4A;
padding: 50px;
background-color: white;
border-radius: 10px;
}
#cent {
width: 40%;
padding: 20px;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
h1{
font-size: 60px
}
hr {
margin: 20px;
}
.angled-button{
--corner-radius: 20px 0 0 0;
-webkit-mask: point(angled-corners, filled);
}
/* ===================== */
.cutCorner {
position:relative;
border:1px solid silver; display: inline-block;
}
.cutCorner img {
display:block;
}
.cutCorner:before {
position:absolute; left:-1px; top:-1px; content:'';
border-top: 70px solid silver;
border-right: 70px solid transparent;
}
.cutCorner:after {
position:absolute; left:-2px; top:-2px; content:'';
border-top: 70px solid white;
border-right: 70px solid transparent;
}
.cut {
position:relative;
width:500px;
height: 200px;
padding:20px;
color:#000;
background:#ccc;
}
.cut:before {
content:"";
position:absolute;
top:0;
left:0;
border-width:30px 30px 0px 0px;
border-style:solid;
border-color:#fff transparent transparent #fff ;
}
</style>
</head>
<body>
<div id="cent" class=" borderDiv">
<h1><b>Thank you</b></h1>
<h3>for your purchase!</h3>
<p>We'd love to hear your feed back</p>
<hr>
<div class="button_cont" align="center">
<a class="example_a" href="add-website-here" target="_blank" rel="nofollow noopener">Go Back</a>
</div>
</div>
<button class="angled-button">Google </button>
<div class="cutCorner">
<img class="" src="https://www.google.co.uk/logos/doodles/2013/william-john-swainsons-224th-birthday-5655612935372800-hp.jpg" />
</div>
<div class="cut"></div>
</body>
</html>