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

Skip to content

Commit 0aedf42

Browse files
authored
Merge pull request TheOdinProject#45 from TheOdinProject/update-container-class
update container class to avoid confusion
2 parents 048a33b + 78308ed commit 0aedf42

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

margin-and-padding/margin-and-padding-2/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="card">
1212
<h1 class="title">I'm a card</h1>
1313
<div class="content">I have content inside me..lorem ipsum blah blah blah. Here's some stuff you need to read.</div>
14-
<div class="button">and a <button>BIG BUTTON</button></div>
14+
<div class="button-container">and a <button>BIG BUTTON</button></div>
1515
</div>
1616
</body>
1717
</html>

margin-and-padding/margin-and-padding-2/solution/solution.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body {
1717
background: #e3f4ff;
1818
}
1919

20-
.button {
20+
.button-container {
2121
background: #e3f4ff;
2222
}
2323

@@ -50,7 +50,7 @@ We separated it out here to make it extra clear what has changed. */
5050
padding: 16px 8px;
5151
}
5252

53-
.button {
53+
.button-container {
5454
text-align: center;
5555
padding: 8px;
5656
}

margin-and-padding/margin-and-padding-2/solution/solution.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="card">
1212
<h1 class="title">I'm a card</h1>
1313
<div class="content">I have content inside me..lorem ipsum blah blah blah. Here's some stuff you need to read.</div>
14-
<div class="button">and a <button>BIG BUTTON</button></div>
14+
<div class="button-container">and a <button>BIG BUTTON</button></div>
1515
</div>
1616
</body>
1717
</html>

margin-and-padding/margin-and-padding-2/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body {
1717
background: #e3f4ff;
1818
}
1919

20-
.button {
20+
.button-container {
2121
background: #e3f4ff;
2222
}
2323

0 commit comments

Comments
 (0)