My HTML Code:
<div>
<div class="card login">
<div class="label">
<p id="Title">Plex</p>
</div>
</div>
<div class="card welcome">
<div class="label">
</div>
</section>
</div>
What should my CSS code look like to make both those "Cards" align into a row? Note the label will be of a different color than the rest of the card. Im looking for a result similar to this:
┌─────┐ ┌─────┐
│Label│ │Label│
├─────┤ ├─────┤
│ │ │ │
│ │ │ │
└─────┘ └─────┘
Here is my CSS code so far:
.card login{
width: 400px;
height: 500px;
margin-left: 10px;
background-color: #f3f3f3;
-webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}
.card welcome{
width: 400px;
height: 500px;
background-color: #f3f3f3;
-webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}
.label {
display: inline-block;
background-color: #434342;
max-width:400px;
height: 55px;
z-index: 999;
-webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
#Title {
font-family: Thinfont-Bold;
color: #d2731d;
margin-left:40%;
margin-right:32%;
font-size: 50px;
}