update container class to avoid confusion

This commit is contained in:
Cody Loyd 2021-10-04 14:17:01 -05:00
parent 048a33be93
commit 78308edbfa
4 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@
<div class="card">
<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="button">and a <button>BIG BUTTON</button></div>
<div class="button-container">and a <button>BIG BUTTON</button></div>
</div>
</body>
</html>

View file

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

View file

@ -11,7 +11,7 @@
<div class="card">
<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="button">and a <button>BIG BUTTON</button></div>
<div class="button-container">and a <button>BIG BUTTON</button></div>
</div>
</body>
</html>

View file

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