Class 'bottom'
Lesson 18 of 31 in Coddy's 3D Card | Front-end Project course.
Challenge
EasyTarget class ‘bottom’:
- Set the display to Flex
- Set align-items to center.
- Set justify-content to space-between
- Set position to absolute
- Set the bottom, left, and right to 20 pixels.
- Set padding 10px from top-bottom and 12px from right left
Add these properties at the end for a precise finish:
transform-style: preserve-3d;
transform: translate3d(0, 0, 26px); 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>All lessons in 3D Card | Front-end Project
1Introduction
What you will build?