CSS 버튼
기본 버튼 스타일
예
.button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
[전체소스]
<!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 Buttons</h2>
<button>Default Button</button>
<a href="#" class="button">Link Button</a>
<button class="button">Button</button>
<input type="button" class="button" value="Input Button">
</body>
</html>
게시글 목록
| 번호 | 제목 |
|---|---|
| 3530 | |
| 3529 | |
| 3497 | |
| 3472 | |
| 3471 |
CSS
CSS 그리드 관련 사이트
9
|
| 3451 | |
| 3442 | |
| 3441 | |
| 3437 |
CSS
마진병합 현상
6
|
| 3436 | |
| 3425 |
기타
제이쿼리 버전
1
|
| 3421 | |
| 3420 | |
| 3405 | |
| 3402 | |
| 3399 | |
| 3397 | |
| 3394 |
기타
“Barba.js
1
|
| 3393 | |
| 3392 | |
| 3391 | |
| 3390 | |
| 3389 | |
| 3388 | |
| 3387 | |
| 3386 | |
| 3385 | |
| 3384 | |
| 3383 | |
| 3382 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기