-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
202 lines (200 loc) · 7.33 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Demo - Input Text Effects in CSS</title>
<!-- Fonts API -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="dd-wrapper">
<div class="dd-center-content">
<h1 class="dd-title">Input Text Box Effects</h1>
<div class="dd-elements">
<div class="box">
<h2 class="title">Basic input text box with outer shadow</h2>
<div class="container">
<div class="row">
<div class="col-3">
<input type="tyext" class="form-input basic" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input basic smooth-corner" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input basic round" placeholder="DD - Design Drastic">
</div>
</div>
</div>
<div class="cf"></div>
<h2 class="title">Basic input text box with inner shadow</h2>
<div class="container">
<div class="row">
<div class="col-3">
<input type="tyext" class="form-input basic shadow-inset" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input basic smooth-corner shadow-inset" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input basic round shadow-inset" placeholder="DD - Design Drastic">
</div>
</div>
</div>
</div>
<div class="box">
<h2 class="title">Spread shadow on focus</h2>
<div class="container">
<div class="row">
<div class="col-3">
<input type="tyext" class="form-input spread-shadow" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input spread-shadow smooth-corner" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input spread-shadow round" placeholder="DD - Design Drastic">
</div>
</div>
</div>
</div>
<div class="box">
<h2 class="title">Glow with shadow on focus</h2>
<div class="container">
<div class="row">
<div class="col-3">
<input type="tyext" class="form-input glow-shadow" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input glow-shadow smooth-corner" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input glow-shadow round" placeholder="DD - Design Drastic">
</div>
</div>
</div>
</div>
<div class="box">
<h2 class="title">Change border on focus</h2>
<div class="container">
<div class="row">
<div class="col-3">
<input type="tyext" class="form-input border-dashed" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input border-dashed smooth-corner" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input border-dashed round" placeholder="DD - Design Drastic">
</div>
</div>
</div>
</div>
<div class="box">
<h2 class="title">Shutter out on focus</h2>
<div class="container">
<div class="row">
<div class="col-3">
<input type="tyext" class="form-input shutter" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input shutter smooth-corner" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input shutter round" placeholder="DD - Design Drastic">
</div>
</div>
</div>
</div>
<div class="box">
<h2 class="title">Shutter in on focus</h2>
<div class="container">
<div class="row">
<div class="col-3">
<input type="tyext" class="form-input shutter-in" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input shutter-in smooth-corner" placeholder="DD - Design Drastic">
</div>
<div class="col-3">
<input type="tyext" class="form-input shutter-in round" placeholder="DD - Design Drastic">
</div>
</div>
</div>
</div>
<div class="box">
<h2 class="title">Border bottom effects</h2>
<div class="container">
<div class="row">
<div class="col-4">
<div class="form-group">
<input type="tyext" class="form-input border-bottom" placeholder="DD - Design Drastic">
<span class="border-bottom-animation left"></span>
</div>
</div>
<div class="col-4">
<div class="form-group">
<input type="tyext" class="form-input border-bottom" placeholder="DD - Design Drastic">
<span class="border-bottom-animation right"></span>
</div>
</div>
<div class="col-4">
<div class="form-group">
<input type="tyext" class="form-input border-bottom" placeholder="DD - Design Drastic">
<span class="border-bottom-animation center"></span>
</div>
</div>
<div class="col-4">
<div class="form-group">
<input type="tyext" class="form-input border-bottom" placeholder="DD - Design Drastic">
<span class="border-bottom-animation both-side"></span>
</div>
</div>
</div>
</div>
</div>
<div class="box">
<h2 class="title">Border(all 4 borders) animations</h2>
<div class="container">
<div class="row">
<div class="col-4">
<div class="form-group">
<input type="tyext" class="form-input border-animation set-1" placeholder="DD - Design Drastic">
<span class="border-line-animation top-bottom"></span>
<span class="border-line-animation left-right"></span>
</div>
</div>
<div class="col-4">
<div class="form-group">
<input type="tyext" class="form-input border-animation set-2" placeholder="DD - Design Drastic">
<span class="border-line-animation top-bottom"></span>
<span class="border-line-animation left-right"></span>
</div>
</div>
<div class="col-4">
<div class="form-group">
<input type="tyext" class="form-input border-animation set-3" placeholder="DD - Design Drastic">
<span class="border-line-animation top"></span>
<span class="border-line-animation left"></span>
<span class="border-line-animation bottom"></span>
<span class="border-line-animation right"></span>
</div>
</div>
<div class="col-4">
<div class="form-group">
<input type="tyext" class="form-input border-animation set-4" placeholder="DD - Design Drastic">
<span class="border-line-animation top-bottom"></span>
<span class="border-line-animation left-right"></span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>