Class 'view-more'
Lesson 19 of 31 in Coddy's 3D Card | Front-end Project course.
Challenge
EasyTarget class ‘view-more’ in ‘bottom’:
- Set the display to Flex
- Set align-items to center.
- Set justify-content to flex-end.
- Set the width to 40%.
Add :
transition: all 0.2s ease-in-out;Also add hovering effect (Important):
.bottom .view-more:hover { transform: translate3d(0, 0, 10px); }
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?4CSS - II
Class 'view-more'