Skip to content

Commit

Permalink
Merge pull request #2 from evanshortiss/evanshortiss-red-speed
Browse files Browse the repository at this point in the history
feat: make the app faster by changing hover state to red
  • Loading branch information
evanshortiss authored Nov 21, 2023
2 parents 0a5fb82 + d2c2529 commit 5e6d648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default async function Home () {
{elements.map((element:any) => (
<li
key={element.id}
className="relative flex flex-col text-center p-5 rounded-md bg-[#00E699] transition-colors hover:bg-[#00e5BF] text-[black]"
className="relative flex flex-col text-center p-5 rounded-md bg-[#00E699] transition-colors hover:bg-red-300 text-[black]"
>
<p className="absolute top-2 left-2 text-sm">
{element.atomicNumber}
Expand Down

0 comments on commit 5e6d648

Please sign in to comment.