Anne31415 commited on
Commit
696f4d3
1 Parent(s): a1d71a8

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +26 -0
style.css ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Style inputs with type="text", type="email"and textareas */
2
+ input[type=text], input[type=email], textarea {
3
+ width: 100%; /* Full width */
4
+ padding: 12px; /* Some padding */
5
+ border: 1px solid #ccc; /* Gray border */
6
+ border-radius: 4px; /* Rounded borders */
7
+ box-sizing: border-box; /* Make sure that padding and width stays in place */
8
+ margin-top: 6px; /* Add a top margin */
9
+ margin-bottom: 16px; /* Bottom margin */
10
+ resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
11
+ }
12
+
13
+ /* Style the submit button with a specific background color etc */
14
+ button[type=submit] {
15
+ background-color: #04AA6D;
16
+ color: white;
17
+ padding: 12px 20px;
18
+ border: none;
19
+ border-radius: 4px;
20
+ cursor: pointer;
21
+ }
22
+
23
+ /* When moving the mouse over the submit button, add a darker green color */
24
+ button[type=submit]:hover {
25
+ background-color: #45a049;
26
+ }