File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 69
69
margin : 0 ;
70
70
color : white;
71
71
}
72
+ pre , code {
73
+ font-size : 110% ;
74
+ }
75
+ input [type = text ], select , textarea {
76
+ width : 100% ;
77
+ padding : 12px ;
78
+ border : 1px solid # ccc ;
79
+ border-radius : 4px ;
80
+ box-sizing : border-box;
81
+ margin-top : 6px ;
82
+ margin-bottom : 16px ;
83
+ resize : vertical;
84
+ }
85
+
86
+ input : invalid : required {
87
+ border : 1px dashed red;
88
+ }
89
+
90
+ /* Style button */
91
+ input [type = submit ] {
92
+ background-color : # aeaeae ;
93
+ color : # 333 ;
94
+ padding : 12px 20px ;
95
+ border : none;
96
+ border-radius : 4px ;
97
+ cursor : pointer;
98
+ width : 100% ;
99
+ font-weight : bold;
100
+ }
101
+
102
+ /* When moving the mouse over the submit button, add a darker black color */
103
+ input [type = submit ]: hover {
104
+ background-color : black;
105
+ color : white;
106
+ }
107
+
108
+ /* Add a background color and some padding around the form */
109
+ .form {
110
+ border-radius : 5px ;
111
+ background-color : # f2f2f2 ;
112
+ padding : 20px ;
113
+ }
You can’t perform that action at this time.
0 commit comments