-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Add Hover Shadow Effect to Buttons On Homepage #246
Comments
Using Tailwind CSS's hover state variants and box-shadow utilities, you can achieve the effect. For example: <button class="bg-blue-500 text-white font-bold py-2 px-4 rounded hover:bg-blue-600 hover:shadow-md">
Taxonomy
</button> |
this is still open or closed ? can i work on this? |
Hi @shiv-2810 , I'm actively working on this issue. It's still open, and I'll update it once I have a solution or progress to share. |
You want to create a shadow effect that adapts to both light and dark themes, you have a couple of options:
and then use tailwind box-shadow class: or of course you can also create a custom class and use this
When you switch to dark mode, the shadow color will change accordingly. This is a clean approach if you use the shadow effect on many elements across your project.
Either approach works well, depending on your project's needs. The global CSS class method provides a centralized solution for multiple elements, while the Tailwind variant offers a quick way to adjust styles for individual components. Let me know if you have any further questions! |
@mardausdennis |
Looks like you got it to work! 😀 Make sure to close the issue when everything is working fine. |
|
Summary
Currently, the buttons in the home page lack a hover effect, which could provide visual feedback to users. This issue is opened to propose the addition of a subtle shadow effect when the mouse hovers over buttons.
Expected Behavior
When a user hovers over a button, a smooth and subtle shadow effect should be applied, enhancing the visual feedback and improving the user experience.
Screenshots
AndAcceptance Criteria
Technical Details
You can use CSS for the same
The text was updated successfully, but these errors were encountered: