Skip to content

Commit 046f02b

Browse files
committed
adjust CSS
1 parent f475020 commit 046f02b

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

css/style.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,20 @@ body {
6262
}
6363

6464
.btn-primary {
65-
background-color: var(--primary-color);
65+
background-color: transparent;
6666
color: white;
67+
border: 2px solid #0b883b;
6768
}
6869

6970
.btn-primary:hover {
70-
background-color: #0056b3;
71+
background-color: #0b883b;
7172
transform: translateY(-2px);
7273
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
7374
}
7475

7576
.btn-secondary {
7677
background-color: transparent;
77-
color: var(--primary-color);
78+
color: white;
7879
border: 2px solid var(--primary-color);
7980
}
8081

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<!-- CSS -->
1212
<link rel="stylesheet" href="css/style.css">
13+
1314

1415
<!-- Google Fonts (ถ้าใช้) -->
1516
<link rel="preconnect" href="https://fonts.googleapis.com">
@@ -54,8 +55,7 @@ <h2 class="hero-title">
5455
<div class="hero-cta">
5556
<button class="btn btn-primary">Get Started</button>
5657
<button class="btn btn-secondary">Learn More</button>
57-
<!-- From Uiverse.io by mrhyddenn -->
58-
<button>Learn More</button>
58+
5959
</div>
6060
</div>
6161
</section>

0 commit comments

Comments
 (0)