Class profile-card
Lesson 11 of 26 in Coddy's Coddy Profile Card Clone | Front-end project course.
Challenge
EasyTarget class ‘profile-card’:
- Set the display to flex.
- Set align-items to center.
- Set flex-direction to column.
- Set padding to 15 pixels.
- Set the border-radius to 24 pixels.
- Set the background to white.
Add the box-shadow of your choice.
Or you can use this:
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
Try it yourself
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Write HTML code here -->
<script src="script.js"></script>
</body>
</html>