Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 95eafdaf authored by 65160260's avatar 65160260
Browse files

Edit style.css

parent 7e020b6b
No related branches found
No related tags found
No related merge requests found
/* ตั้งค่าพื้นฐาน */
* {
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
}
/* คอนเทนเนอร์หลัก */
.container {
width: 80%;
max-width: 900px;
margin: 20px auto;
background: white;
padding: 20px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
......@@ -50,11 +43,6 @@ th {
color: white;
}
/* ปรับให้ตารางไม่ล้นจอ */
.table-wrapper {
overflow-x: auto;
}
/* ฟอร์ม */
form {
text-align: center;
......@@ -66,18 +54,12 @@ input, button {
margin: 5px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}
input {
width: 250px;
}
button {
background-color: #28a745;
color: white;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
......@@ -126,7 +108,6 @@ a:hover {
border: none;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
}
.qty-btn:hover {
......@@ -143,7 +124,6 @@ a:hover {
border-radius: 5px;
font-size: 18px;
color: black;
transition: background-color 0.3s;
}
.checkout-btn:hover {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment