File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11h1 {
2+ font-family : 'Times New Roman' , Times, serif;
23 font-size : 1.5rem ;
3- }
4+ }
5+ fieldset {
6+ background-color : # becce2 ;
7+ border : 2px solid # c0cde0 ;
8+ border-style : solid;
9+ border-radius : 0.5em ;
10+ margin : 1em auto;
11+ padding : 1em ;
12+ width : 40em ;
13+ max-width : 800px ;
14+ }
15+
16+ legend {
17+ color : # 222 ;
18+ background-color : # f6f9ff ;
19+ font-size : 90% ;
20+ padding : 1em 2em ;
21+ border : solid 1px # becce2 ;
22+ border-radius : 0.3em ;
23+
24+
25+ }
26+ fieldset > div {
27+ padding : 0.5em 3em ;
28+ display : grid;
29+ grid-template-columns : 2fr 4fr ;
30+ }
31+ input , select , button {
32+ border : solid 1px # becce2 ;
33+ padding : 4px ;
34+ font-size : 1em ;
35+ border-radius : 0.3em ;
36+ }
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ <h1>Product Pick</h1>
1515 < main >
1616 < form >
1717 < fieldset >
18- < lengend >
19- Person name and email</ lengend >
18+ < legend >
19+ Person name and email</ legend >
2020 < div class ="form-group ">
2121 < label for ="fullname "> Full Name:</ label >
2222 < input type ="text " id ="fullname " required minlength ="2 ">
You can’t perform that action at this time.
0 commit comments