-
Notifications
You must be signed in to change notification settings - Fork 1
/
inputs.html
55 lines (47 loc) · 921 Bytes
/
inputs.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
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: lightgrey;
}
input[type=text] {
width: 75%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border-radius: 5px;
background: #ffffff;
box-shadow: inset 2px 2px 6px #d9d9d9,
inset -2px -2px 6px #ffffff;
border: 1px solid rgb(0,0,0,0);
outline: none;
transition: 0.5s
}
input[type=text]:focus {
border: 1px solid #00ff7b;
transition: 0.5s
}
textarea {
width: 75%;
height: 75vh;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border-radius: 5px;
resize: none;
box-shadow: inset 2px 2px 6px #d9d9d9,
inset -2px -2px 6px #ffffff;
border: 1px solid white;
outline: none;
}
</style>
</head>
<body>
<form>
<input type="text" id="fname" name="fname" placeholder="Title">
<textarea>
</textarea>
</form>
</body>
</html>