forked from TheOdinProject/css-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |