You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.2 KiB
CSS

5 years ago
/* block comment key: Shift + Alt + A */
/* General styles */
.card {
margin: 0;
}
/* Selectors to be matched up with rulesets */
.card article img{
float: right;
height: 100%; /* pct of parent height */
max-width: height 100%;
}
.card header{
background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0,0.1));
border-radius: 1.5em 1.5em 0 0;
}
.card footer{
background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1));
border-radius: 0 0 1.5em 1.5em;
}
.card{
width: 35em;
height: 22em;
margin: 5em auto;
background-color: limegreen;
border: 0.2 solid black;
border-radius: 1.5em;
}
/* styles specific to the setup of card container */
/* styles specific to the header and footer */
.card header {
max-height: 50px;
height: 30px;
padding: 10px;
font-size: 20px;
line-height: 5px;
}
.card footer{
max-height: 50px;
height: 47px;
padding: 10px;
font-size: 20px;
line-height: 5px;
}
/* styles specific to main bussiness card contents */
.card article {
height: 220px;
background: rgba(47, 151, 33, 0.5);
padding-left: 15px;
color: whitesmoke;
line-height: 30px;
}