The Image
Lesson 18 of 23 in Coddy's Slider | Front-end Project course.
Challenge
EasyTarget img class:
1. Set the background color of your choice.
2. Set the height and width of your choice (recommended at 100px).
3. Set the border radius to 50%.
Target img tag in class img:
1. Set the width and height of your choice (make sure it is at least 10 pixels less than the class img)
2. Set the border radius to 50%.
3. Set the object-fit to cover.
4. Set border of your choice.
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>