스타일 클래스 btn
Coddy의 DOM 프로젝트 - 계산기 코스 레슨 — 14개 중 9번째.
챌린지
쉬움대상 클래스 'btn':
- padding과 font size를 20px로 설정합니다.
- border를 1px, solid, 그리고 원하는 색상으로 설정합니다.
- background color와 color를 원하는 색상으로 설정합니다.
- cursor를 pointer로 설정합니다.
직접 해보기
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Write HTML code here -->
<script src="script.js"></script>
</body>
</html>