MaximeTut commited on
Commit
ce1ec5b
1 Parent(s): d3eb938
Files changed (1) hide show
  1. style2.txt +26 -0
style2.txt ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Style inputs with type="text", select elements 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: 14px; /* 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: 10px; /* 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
+ }