-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.css
90 lines (79 loc) · 1.65 KB
/
example.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
body {
font-family: sans-serif;
margin: 0;
padding: 0;
}
h2 {
font-size: medium;
};
/* Container for the form */
.form-container {
width: 500px;
margin: 50px auto;
padding: 30px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Heading text */
.heading {
text-align: center;
font-size: 20px;
margin-bottom: 20px;
}
/* Text paragraph */
.text-paragraph {
text-align: center;
font-size: 14px;
color: #aaa;
margin-bottom: 20px;
}
/* Label styles */
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="checkbox"] {
border-radius: 10px;
box-sizing: border-box;
filter: drop-shadow(-2px 2px 0px #000000);
outline: 3px solid black;
}
/* Input field styles */
input[type="text"],
input[type="date"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 3px;
box-sizing: border-box;
margin-bottom: 15px;
filter: drop-shadow(-5px 10px 0px #000000);
outline: 3px solid black;
}
/* Input field placeholder styles */
input[type="text"]::placeholder,
input[type="date"]::placeholder {
color: #aaa;
}
/* Button styles */
button.btn {
display: inline-block;
padding: 10px 20px;
border: none;
border-radius: 5px;
background-image: none;
background-color: #f56523; /* Orange color */
color: #fff; /* White color */
font-size: 16px;
font-weight: bold;
cursor: pointer;
outline: 3px solid black;
transition: all 0.2s ease-in-out; /* Add smooth hover effect */
}
/* Button styles on hover */
button.btn:hover {
filter: drop-shadow(-5px 10px 0px #000000);
background-color: #f56523; /* Slightly darker orange on hover */
}