Submitted over 1 year ago
Res. Testimonials Grid with animations - BG Color, Blur, Keyframes -JS
@amrajat
Design comparison
SolutionDesign
Solution retrospective
Hey everyone! I hope all of you are doing great. I have finished this challenge and I really want to know your thoughts on this.
while I was working on this I faced one issue described below. Kindly explain the cause of why it's happening like this -why all 3 pseudo-elements are taking too much height even though I have declared line-height: 1 and tried all flex alignment properties but still it's taking too much space vertically? please explain the cause of why it's happening thank you
š· click here for image please
.card__paragraph::before {
content: "\201C";
position: absolute;
left: -0.8rem;
font-size: 2rem;
line-height: 1;
font-family: sans-serif;
opacity: 0.5;
border: 2px solid red;
}
.card__paragraph::after {
position: absolute;
content: "\201D";
font-size: 2rem;
line-height: 1;
font-family: sans-serif;
opacity: 0.5;
border: 2px solid red;
}
.card-1::after {
position: absolute;
content: "\201D";
font-size: 28rem;
line-height: 1;
font-family: sans-serif;
top: -3.5rem;
right: 1rem;
opacity: 0.3;
z-index: 5;
border: 2px solid red;
}
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord