forked from savvy-coders/unit-05-css-1-Theolewis1996
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
27 lines (24 loc) · 884 Bytes
/
style.css
File metadata and controls
27 lines (24 loc) · 884 Bytes
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
/* CSS Stylesheet */
/* Instructions are copied here for convenience: */
/* 1. Change the background color of the form's body element to "RGB(233, 233, 233)". */
/* 2. Increase the font size of the form's h1 element to 40 pixels. */
/* 3. Add a 2-pixel solid border to the form's container class with the color "RGB(204, 204, 204)". */
/* 4. Change the text color of the form's button element to "RGB(255, 255, 255)". */
/* 5. Add a 4-pixel border radius to the form's button element. */
/* 6. Use the :active pseudo-class to change the background color of the button to "RGB(0, 86, 179)" when active/clicked. */
form{
background-color: RGB(233, 233, 233);
}
.container{
border: solid 2px rgb(204, 204, 204);
}
form h1{
font-size: 40px;
}
form button{
color: rgb(255, 255, 255);
border-radius: 4px;
}
form button:active{
background-color: rgb(0, 86, 179);
}