Skip to content

Commit c6d290d

Browse files
authored
Merge pull request #39 from jen67/newapp
added some codes
2 parents 0598b5f + a5ced14 commit c6d290d

File tree

1 file changed

+8
-1
lines changed
  • intro-section-with-dropdown-navigation-main/src/scss/components

1 file changed

+8
-1
lines changed

intro-section-with-dropdown-navigation-main/src/scss/components/_main.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ main{
1616
p{
1717
font-size: 0.97rem;
1818
color: $mediumGray;
19-
line-height: 1.5rem;
19+
line-height: 1.5;
2020
padding: 1rem;
2121
}
2222

@@ -32,6 +32,13 @@ main{
3232
align-items: center;
3333
justify-content: center;
3434
font-weight: 700;
35+
transition: background-color 0.3s ease-in-out, color 0.4s ease-in, border 0.5s ease-out;
36+
37+
&:hover{
38+
background-color: $almost-White;
39+
color: $almostBlack;
40+
border: 1px groove $almostBlack;
41+
}
3542

3643
}
3744

0 commit comments

Comments
 (0)