클래스 'bottom'
Coddy의 3D 카드 | 프론트엔드 프로젝트 코스 레슨 — 31개 중 18번째.
챌린지
쉬움대상 클래스 'bottom':
- display를 Flex로 설정합니다.
- align-items를 center로 설정합니다.
- justify-content를 space-between으로 설정합니다.
- position을 absolute로 설정합니다.
- bottom, left, right를 20 픽셀로 설정합니다.
- padding을 상하 10px, 좌우 12px로 설정합니다.
정교한 마무리를 위해 마지막에 다음 속성들을 추가하세요:
transform-style: preserve-3d;
transform: translate3d(0, 0, 26px); 직접 해보기
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Write HTML code here -->
<script src="script.js"></script>
</body>
</html>