Merge pull request #45 from TheOdinProject/update-container-class
update container class to avoid confusion
This commit is contained in:
commit
0aedf4202a
4 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -17,7 +17,7 @@ body {
|
|||
background: #e3f4ff;
|
||||
}
|
||||
|
||||
.button {
|
||||
.button-container {
|
||||
background: #e3f4ff;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue