File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414< body >
1515 < h2 > Favicon Fetcher</ h2 >
1616
17- < br /> < br />
18-
19- < label >
20-
21- < input type ="text " placeholder ="Enter a URL " id ="input ">
22- < input type ="button " value ="Try it Grab! " style ="background-color: white; height: 60px; width: 170px; " id ="grab "> < br /> < br /> < br /> < br />
23- < img id ="image " style ="margin-left: 180px; width: 80px; height: 80px; "> < br /> < br /> < br /> < br />
17+ < input type ="text " placeholder ="Enter a URL " id ="input ">
18+
19+ < input type ="button " value ="Try it Grab! " style ="background-color: white; height: 60px; width: 170px; " id ="grab ">
20+
21+ < img id ="image " style =" width: 90px; height: 90px; ">
2422
25- </ label >
26-
2723 < script src ="script.js "> </ script >
2824
2925</ body >
Original file line number Diff line number Diff line change 55 font-family : "roboto" ;
66}
77
8-
9-
108html , body {
119 height : 100% ;
1210}
1311
1412body {
1513 display : flex;
14+ flex-direction : column;
1615 align-items : center;
17- justify-content : center ;
16+ justify-content : space-evenly ;
1817 background-image : url ('images/background.avif' );
1918}
2019
2120h2 {
22- position : absolute;
2321 top : 0 ;
24- padding-top : 100px ;
2522 color : rgba (9 , 6 , 6 , 0.567 );
2623 font-size : 80px ;
2724 text-align : center;
2825 font-family : roboto;
2926
3027 }
3128
32-
3329img {
3430 size : 48px ;
3531 margin-right : 1.2rem ;
3632}
3733
38- label {
39- position : relative;
40- }
41-
42- label input {
34+ input {
4335 font-size : 1.5rem ;
4436 padding : 1rem ;
4537 border-radius : 0.2rem ;
4638 height : 60px ;
4739 width : 350px ;
4840}
4941
50-
5142input [type = 'button' ]: hover {
5243 cursor : pointer;
5344}
@@ -57,5 +48,11 @@ input[type='button']:hover{
5748 border-style : solid;
5849 box-shadow : 2px 2px 2px rgba (0 , 0 , 0 , 0.368 );
5950 font-family : roboto;
60- margin-top : 100px ;
51+ }
52+
53+ @media (max-width : 373px )
54+ {
55+ body {
56+ width : fit-content;
57+ }
6158}
You can’t perform that action at this time.
0 commit comments