File tree Expand file tree Collapse file tree
Projects/World Info Website Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 background-color : # ffffff ;
1414 width : 80vw ;
1515 max-width : 37.5em ;
16+ max-height : 100vh ;
1617 padding : 3em 2.5em ;
1718 position : absolute;
1819 transform : translate (-50% , -50% );
@@ -35,6 +36,49 @@ body {
3536 padding : 0.8em 0 ;
3637 border : none;
3738 border-radius : 1.5em ;
39+ width : 100px ;
40+ }
41+
42+ @media (max-width : 476px ){
43+ .search-wrapper {
44+ display : flex;
45+ flex-direction : column;
46+ align-items : center;
47+ justify-content : space-evenly;
48+ }
49+ }
50+
51+ @media (max-width : 300px ){
52+ .search-wrapper {
53+ width : 100% ;
54+ }
55+ # result {
56+ font-size : small;
57+ }
58+
59+ }
60+
61+ @media (max-width : 280px )
62+ {
63+ # country-inp , # search-btn {
64+ font-size : small;
65+ }
66+ # search-btn {
67+ width : 80px ;
68+ }
69+ }
70+
71+ @media (max-width : 226px )
72+ {
73+ .container {
74+ min-width : 140px ;
75+ }
76+ # country-inp , # search-btn {
77+ font-size : x-small;
78+ }
79+ # search-btn {
80+ width : 60px ;
81+ }
3882}
3983
4084.search-wrapper input {
You can’t perform that action at this time.
0 commit comments