Skip to content

Commit 796c9d0

Browse files
committed
add weather result conatiner formatting
1 parent 2ce17cd commit 796c9d0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

weatherApp/css/style.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,27 @@ html {
128128
font-size: 1.3em;
129129
}
130130

131+
/*Format weather result container*/
132+
.weatherResult {
133+
margin-top: 20px;
134+
display: flex;
135+
flex-direction: column;
136+
align-items: center;
137+
justify-content: center;
138+
text-align: center;
139+
width: 100%;
140+
padding: 5%;
141+
border-radius: 12px;
142+
background-color: #304c89;
143+
display: none;
144+
}
145+
146+
/*Format weather result img*/
147+
.weatherResult img {
148+
width: 50%;
149+
margin: 20px 0;
150+
}
151+
131152
/**About Formatting**/
132153
.aboutContainer {
133154
display: flex;

0 commit comments

Comments
 (0)