Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit d264657

Browse files
i added comments
1 parent 5056a7e commit d264657

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Form-Controls/styles.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
1-
/* Reset and global styles */
1+
/* universal styles */
22
* {
33
padding: 0;
44
margin: 0;
55
box-sizing: border-box;
66
}
7-
7+
/*body*/
88
body {
99
font-family: garamond, serif;
1010
margin: 0;
1111
padding: 0;
1212
color: #1b1212;
1313
background-color: #f5c9d6;
1414
}
15-
15+
/*h1*/
1616
h1 {
1717
margin-top: 0.4rem;
1818
text-align: center;
1919
margin-bottom: 1rem;
2020
font-size: 2.5rem;
2121
font-weight: 500;
2222
}
23+
/*h2*/
2324
h2 {
2425
margin-top: 0.7rem;
2526
margin-bottom: 0.8rem;
2627
margin-left: 3rem;
2728
font-weight: 500;
2829
font-size: 2rem;
2930
}
30-
31+
/*wrapper*/
3132
.container {
3233
display: grid;
3334
grid-template-columns: 1fr 1fr;
@@ -37,7 +38,7 @@ h2 {
3738
padding-bottom: 2rem;
3839
align-items: start;
3940
}
40-
41+
/*Form*/
4142
.form-section {
4243
display: flex;
4344
flex-direction: column;
@@ -130,7 +131,7 @@ button {
130131
transform: scale(1.11);
131132
opacity: 0.9;
132133
}
133-
134+
/*footer*/
134135
footer {
135136
text-align: center;
136137
margin-top: 2rem;
@@ -140,7 +141,7 @@ footer {
140141
color: #808080;
141142
border-top: 1px solid #ccc;
142143
}
143-
144+
/*media query for screen 768px*/
144145
@media screen and (max-width: 768px) {
145146
.image-section {
146147
display: none;
@@ -183,6 +184,7 @@ footer {
183184
text-align: center;
184185
}
185186
}
187+
/*media query for screen 1000px*/
186188
@media screen and (max-width: 1000px) {
187189
label {
188190
font-size: 1.3rem;

0 commit comments

Comments
 (0)