File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ body {
2+ text-align : center;
3+ background-color : rgb (162 , 139 , 139 );
4+ }
5+
6+ fieldset {
7+ border-radius : 10px ;
8+ padding : 3px ;
9+ max-width : 450px ;
10+ margin : 0 auto 12px auto;
11+ box-sizing : border-box;
12+ }
13+
14+ input {
15+ border : 2px solid # ddd ;
16+ border-radius : 5px ;
17+ background : # eee ;
18+ padding : 2px ;
19+ }
20+
21+ select {
22+ border : 2px solid # ddd ;
23+ border-radius : 5px ;
24+ background : # eee ;
25+ padding : 2px ;
26+ transition : 0.4s ;
27+ }
28+
29+ select : hover ,
30+ select : focus {
31+ background : rgb (117 , 180 , 232 );
32+ color : white;
33+ }
34+
35+ button {
36+ padding : 5px ;
37+ border : 2px solid # ddd ;
38+ background : # eee ;
39+ border-radius : 5px ;
40+ cursor : pointer;
41+ }
42+
43+ button : hover ,
44+ button : focus {
45+ background : rgb (117 , 180 , 232 );
46+ color : white;
47+ }
Original file line number Diff line number Diff line change 66 < title > My form exercise</ title >
77 < meta name ="description " content ="" />
88 < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
9- < style >
10- body {
11- text-align : center;
12- background-color : rgb (162 , 139 , 139 );
13- }
14-
15- fieldset {
16- border-radius : 10px ;
17- padding : 3px ;
18- max-width : 450px ;
19- margin : 0 auto 12px auto;
20- box-sizing : border-box;
21- }
22-
23- input {
24- border : 2px solid # ddd ;
25- border-radius : 5px ;
26- background : # eee ;
27- padding : 2px ;
28- }
29-
30- select {
31- border : 2px solid # ddd ;
32- border-radius : 5px ;
33- background : # eee ;
34- padding : 2px ;
35- transition : 0.4s ;
36- }
37-
38- select : hover ,
39- select : focus {
40- background : rgb (117 , 180 , 232 );
41- color : white;
42- }
43-
44- button {
45- padding : 5px ;
46- border : 2px solid # ddd ;
47- background : # eee ;
48- border-radius : 5px ;
49- cursor : pointer;
50- }
51-
52- button : hover ,
53- button : focus {
54- background : rgb (117 , 180 , 232 );
55- color : white;
56- }
57-
58- </ style >
9+ < link rel ="stylesheet " href ="style.css " />
5910 </ head >
6011 < body >
6112
You can’t perform that action at this time.
0 commit comments