Skip to content

Commit

Permalink
Completed 03-GROUPING-SELECTORS
Browse files Browse the repository at this point in the history
  • Loading branch information
popjam committed Sep 9, 2024
1 parent 7b1dccf commit 8e81cbd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
14 changes: 7 additions & 7 deletions foundations/03-grouping-selectors/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Grouping Selectors</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="style.css" />
</head>
<body>
<button>Click Me!</button>
<button>No, Click Me!</button>
<button class="shared button1">Click Me!</button>
<button class="shared button2">No, Click Me!</button>
</body>
</html>
</html>
14 changes: 14 additions & 0 deletions foundations/03-grouping-selectors/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.shared {
font-size: 28px;
font-family: 'Helvetica', 'Times New Roman', 'sans-serif';

}

.button1 {
background-color: black;
color: white;
}

.button2 {
background-color: yellow;
}

0 comments on commit 8e81cbd

Please sign in to comment.