Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 3af18184 authored by 65160394's avatar 65160394
Browse files

Project Round 6

parent e6a8bce8
No related branches found
No related tags found
No related merge requests found
...@@ -22,9 +22,11 @@ header { ...@@ -22,9 +22,11 @@ header {
nav { nav {
display: flex; display: flex;
justify-content: center; justify-content: flex-start; /* ใช้ flex-start สำหรับการเริ่มจากซ้าย */
align-items: center;
gap: 15px; gap: 15px;
margin-top: 10px; margin-top: 10px;
width: 100%; /* ให้ nav ขยายเต็มพื้นที่ */
} }
nav a { nav a {
...@@ -42,7 +44,7 @@ nav a:hover { ...@@ -42,7 +44,7 @@ nav a:hover {
} }
.btn-login { .btn-login {
margin-left: right; /* ปุ่ม Login จะไปอยู่ที่ขวาสุด */ margin-left: auto; /* ใช้ margin-left: auto เพื่อย้าย Login ไปที่ขวาสุด */
background-color: #4CAF50; background-color: #4CAF50;
color: white; color: white;
padding: 10px 20px; padding: 10px 20px;
...@@ -61,13 +63,6 @@ form { ...@@ -61,13 +63,6 @@ form {
margin-top: 10px; margin-top: 10px;
} }
input[type="text"] {
padding: 8px;
border: none;
border-radius: 5px 0 0 5px;
width: 200px;
}
button { button {
padding: 8px 12px; padding: 8px 12px;
border: none; border: none;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment