Day 129
Size 1 of 4...
#CodingPhase #TheCodingWay #365CodingPhaseChallenge
**********
@media only screen and (min-width: 359px) and (max-width: 425px) {
h2 {
margin-top: 10px;
}
h4 {
margin-top: -10px;
}
section {
margin-top: 10px;
display: grid;
grid-template-columns: 1fr 1fr;
grid-auto-rows: 5rem;
column-gap: 2rem;
row-gap: 2rem;
justify-items: stretch;
}
section > div {
display: inline-block;
width: 95%;
margin: 0 auto;
padding: 1em;
font-size: 20px;
text-align: center;
line-height: 2.5rem;
background: linear-gradient(white 40%, rgba(220, 200, 200, 0.5) 80%);
border: none;
border-radius: 10px;
box-shadow: 5px 10px 15px #f5cece;
cursor: pointer;
}
section > div:hover {
background: linear-gradient(rgba(220, 200, 200, 0.5) 40%, white 80%);
}
section .sessions a {
text-decoration: none;
color: rgb(221, 31, 31);
/* color: rgb(3, 80, 6); */
}
}
#CodingPhase #TheCodingWay #365CodingPhaseChallenge
**********
@media only screen and (min-width: 359px) and (max-width: 425px) {
h2 {
margin-top: 10px;
}
h4 {
margin-top: -10px;
}
section {
margin-top: 10px;
display: grid;
grid-template-columns: 1fr 1fr;
grid-auto-rows: 5rem;
column-gap: 2rem;
row-gap: 2rem;
justify-items: stretch;
}
section > div {
display: inline-block;
width: 95%;
margin: 0 auto;
padding: 1em;
font-size: 20px;
text-align: center;
line-height: 2.5rem;
background: linear-gradient(white 40%, rgba(220, 200, 200, 0.5) 80%);
border: none;
border-radius: 10px;
box-shadow: 5px 10px 15px #f5cece;
cursor: pointer;
}
section > div:hover {
background: linear-gradient(rgba(220, 200, 200, 0.5) 40%, white 80%);
}
section .sessions a {
text-decoration: none;
color: rgb(221, 31, 31);
/* color: rgb(3, 80, 6); */
}
}
Comments
Post a Comment