본문 바로가기

table { border-collapse: collapse; width: 100%; max-width: 800px; margin: 0 auto; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); border-radius: 8px; overflow: hidden; background-color: #fff; } thead { background: linear-gradient(135deg, #6a82fb, #fc5c7d); color: #ffffff; } thead th { padding: 12px 15px; text-align: center; /* 가운데 정렬 */ font-size: 16px; } tbody tr { border-bottom: 1px solid #dddddd; } tbody tr:nth-child(even) { background-color: #f3f3f3; } tbody tr:hover { background-color: #e9e9e9; } tbody td, th { padding: 12px 15px; font-size: 15px; color: #333333; text-align: center; /* 가운데 정렬 */ }