Hello, good morning. I’ve tried to create the solution for this task, but it’s not working. Your .blog-post-card element should have a border-radius property with a value (should not be 0 or a negative value). I’ve tried everything and the problem persists. Can anyone help me? Thank you.
- Your
.blog-post-cardelement should have aborder-radiusproperty with a value (should not be0or a negative value).
HTML
<!DOCTYPE *html*>
<html *lang*="en">
<head>
<meta *charset*="UTF-8">
<meta *name*="viewport" *content*="width=device-width, initial-scale=1.0">
<title>Document</title>
<link *rel*="stylesheet" *href*="style.css">
</head>
<body>
<div *class*="blog-post-card">
<img *class*="post-img" *src*="https://cdn.freecodecamp.org/curriculum/labs/cover-photo.jpg" *alt*="Manos escribiendo en el teclado de una laptop, enfocadas en la pantalla de una computadora portátil.">
<div *class*="post-content">
<h2 *class*="post-title">How to Create a Blog Post Card with CSS</h2>
<p *class*=" post-excerpt">Learn how to design an attractive blog post card using HTML and CSS.</p>
<a *href*="#" *class*="read-more">Read More</a>
</div>
</div>
</body>
</html>
CSS
body {
background-color: #cdb4db;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
font-family: "Raleway", sans-serif;
}
.blog-post-card {
background-color: white;
border-radius: 25px;
width: 400px;
min-width: 100px;
text-align: center;
overflow: hidden;
box-shadow: 0 8px 12px **rgba**(0, 0, 0, 0.1);
margin: 20px
}


