아이들의 교육/HTML
✅[html] ✅css 버튼
섹시맘1004
2020. 10. 23. 09:04
반응형
✅[html] ✅css 버튼
<!DOCTYPE html>
<html>
<head>
<style>
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
</style>
</head>
<body>
<h2>css 버튼</h2>
<button>Default 버튼</button>
<a href="#" class="button">Link 버튼</a>
<button class="button">버튼</button>
<input type="button" class="button" value="Input 버튼">
</body>
</html>
반응형