-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
122 lines (122 loc) · 3.9 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Talha - Text Card Hover Effect</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"
/>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<!-- partial:index.partial.html -->
<div class="canvas-wrapper">
<a href="#" class="canvas">
<div class="canvas_border">
<svg>
<defs>
<linearGradient
id="grad-orange"
x1="0%"
y1="0%"
x2="100%"
y2="0%"
>
<stop
offset="0%"
style="stop-color: rgb(253, 137, 68); stop-opacity: 1"
></stop>
<stop
offset="100%"
style="stop-color: rgb(153, 75, 23); stop-opacity: 1"
></stop>
</linearGradient>
<linearGradient id="grad-red" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#D34F48"></stop>
<stop offset="100%" stop-color="#772522"></stop>
</linearGradient>
</defs>
<rect
id="rect-grad"
class="rect-gradient"
fill="none"
stroke="url(#grad-orange)"
stroke-linecap="square"
stroke-width="4"
stroke-miterlimit="30"
width="100%"
height="100%"
></rect>
</svg>
</div>
<div class="canvas_img-wrapper">
<img
class="canvas_img"
src="https://blog.codepen.io/wp-content/uploads/2012/06/Button-Black-Large.png"
alt=""
/>
</div>
<div class="canvas_copy canvas_copy--left">
<span class="canvas_copy_subtitle">Heading</span>
<strong class="canvas_copy_title">Hello</strong>
<strong class="canvas_copy_title">World</strong>
<span class="canvas_copy_details">Details and stuff</span>
</div>
</a>
<a href="#" class="canvas">
<div class="canvas_border">
<svg>
<defs>
<linearGradient
id="grad-orange"
x1="0%"
y1="0%"
x2="100%"
y2="0%"
>
<stop
offset="0%"
style="stop-color: rgb(253, 137, 68); stop-opacity: 1"
></stop>
<stop
offset="100%"
style="stop-color: rgb(153, 75, 23); stop-opacity: 1"
></stop>
</linearGradient>
<linearGradient id="grad-red" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#D34F48"></stop>
<stop offset="100%" stop-color="#772522"></stop>
</linearGradient>
</defs>
<rect
id="rect-grad"
class="rect-gradient"
fill="none"
stroke="url(#grad-orange)"
stroke-linecap="square"
stroke-width="4"
stroke-miterlimit="30"
width="100%"
height="100%"
></rect>
</svg>
</div>
<div class="canvas_img-wrapper">
<img
class="canvas_img"
src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/249772/Twitter_Logo_Blue.png"
alt=""
/>
</div>
<div class="canvas_copy">
<span class="canvas_copy_subtitle">Heading</span>
<strong class="canvas_copy_title">Hello</strong>
<strong class="canvas_copy_title">World</strong>
<span class="canvas_copy_details">Details and stuff</span>
</div>
</a>
</div>
<!-- partial -->
</body>
</html>