-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (94 loc) · 1.67 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
*{
padding:0;
margin:0;
font-family:sans-serif;
box-sizing: border-box;
}
/* navigation section */
.navigation{
background-color: rgb(173, 216, 230, 0.3);
padding:10px 0 1rem 0;
}
/* heading */
h1{
font-size: 2.5rem;
text-align: center;
margin-top: 2rem;
word-spacing: 10px;
letter-spacing: 2px;
}
/* selector button wrapper */
.selector-btn-wrapper{
width: 60%;
margin:20px auto;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
/* click button */
.btn{
width: 25%;
padding:0.3rem;
font-size: 1.3rem;
cursor: pointer;
border-radius: 14px;
overflow: hidden;
background-color: green;
color:white;
border:none;
}
/* dropdown list */
.dog-breed{
height: 2rem;
width: 30%;
padding:2px;
font-size: 1.3rem;
background-color:lightblue;
border-radius: 12px;
outline: none;
}
.dog-subBreed{
width: 30%;
height: 2rem;
padding:2px;
font-size: 1.3rem;
border-radius: 12px;
outline:none;
background-color: lightblue;
}
/* main section */
.main{
display: flex;
flex-wrap: wrap;
row-gap: 1rem;
column-gap: 1rem;
}
/* image container */
.img-wrapper{
margin:20px auto;
height: 400px;
width: 400px;
border-radius: 12px;
overflow: hidden;
box-shadow: 2px 2px 20px 2px gray;
}
.main img{
height: 100%;
width: 100%;
}
@media screen and (max-width:400px){
.selector-btn-wrapper{
flex-direction: column;
row-gap: 1rem;
}
.btn{
width: 80%;
}
.dog-breed{
width: 80%;
}
.dog-subBreed{
width: 80%;
}
}