Merge pull request #45 from TheOdinProject/update-container-class

update container class to avoid confusion
This commit is contained in:
Cody Loyd 2021-10-04 14:18:10 -05:00 committed by GitHub
commit 0aedf4202a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@
<div class="card"> <div class="card">
<h1 class="title">I'm a card</h1> <h1 class="title">I'm a card</h1>
<div class="content">I have content inside me..lorem ipsum blah blah blah. Here's some stuff you need to read.</div> <div class="content">I have content inside me..lorem ipsum blah blah blah. Here's some stuff you need to read.</div>
<div class="button">and a <button>BIG BUTTON</button></div> <div class="button-container">and a <button>BIG BUTTON</button></div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -17,7 +17,7 @@ body {
background: #e3f4ff; background: #e3f4ff;
} }
.button { .button-container {
background: #e3f4ff; background: #e3f4ff;
} }
@ -50,7 +50,7 @@ We separated it out here to make it extra clear what has changed. */
padding: 16px 8px; padding: 16px 8px;
} }
.button { .button-container {
text-align: center; text-align: center;
padding: 8px; padding: 8px;
} }

View file

@ -11,7 +11,7 @@
<div class="card"> <div class="card">
<h1 class="title">I'm a card</h1> <h1 class="title">I'm a card</h1>
<div class="content">I have content inside me..lorem ipsum blah blah blah. Here's some stuff you need to read.</div> <div class="content">I have content inside me..lorem ipsum blah blah blah. Here's some stuff you need to read.</div>
<div class="button">and a <button>BIG BUTTON</button></div> <div class="button-container">and a <button>BIG BUTTON</button></div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -17,7 +17,7 @@ body {
background: #e3f4ff; background: #e3f4ff;
} }
.button { .button-container {
background: #e3f4ff; background: #e3f4ff;
} }