Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Splash-Nemo committed Jun 2, 2024
1 parent 10530fa commit b2757cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="heading">
<li class="nav-item"><a href="#popular-news-section">Popular</a></li>
<li class="nav-item"><a href="#science-news-section">Science</a></li>
<li class="nav-item"><a href="#health-news-section">Health</a></li>
<li class="nav-item"><a href="#business-news-section">business</a></li>
<li class="nav-item"><a href="#business-news-section">Business</a></li>
<li class="nav-item"><a href="#sports-news-section">Sports</a></li>
<li class="searcher">
<div class="box">
Expand Down
8 changes: 8 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,14 @@ body{
flex: 1; /* Make each item occupy equal space */
display: flex;
flex-direction: column;
border: 2px solid white;
padding: 0.2rem;
}

.additional-news-item:hover{
border-left: 2px solid red;
border-right: 2px solid red;
cursor: pointer;
}

.additional-news-item img {
Expand Down

0 comments on commit b2757cf

Please sign in to comment.