Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 800920f

Browse files
feat: completed 03-grouping-selectors
1 parent 785bd7b commit 800920f

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

foundations/intro-to-css/03-grouping-selectors/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<link rel="stylesheet" href="style.css">
99
</head>
1010
<body>
11-
<button>Click Me!</button>
12-
<button>No, Click Me!</button>
11+
<button id="button-one">Click Me!</button>
12+
<button id="button-two">No, Click Me!</button>
1313
</body>
1414
</html>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
button {
2+
font-size: 28px;
3+
font-family: Helvetica, "Times New Roman", sans-serif;
4+
/* it should be noted that if the font name contains white space it should be enclosed in quotes */
5+
}
6+
7+
#button-one {
8+
background-color: #000000;
9+
color: #ffffff;
10+
}
11+
12+
#button-two {
13+
background-color: rgb(255, 255, 84);
14+
}

0 commit comments

Comments
 (0)