Skip to content
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

Add hover effects to the 'CSS blend mode' buttons. #7

Open
moo-light opened this issue Oct 6, 2024 · 9 comments
Open

Add hover effects to the 'CSS blend mode' buttons. #7

moo-light opened this issue Oct 6, 2024 · 9 comments
Assignees
Labels
hacktoberfest PR for hacktoberfest

Comments

@moo-light
Copy link
Contributor

Hey i'm a hacktoberfest beginner! Can you assign me to add some css Animation features
and also
can i fix one css line? the icon is a little off
image

@muhammadhafijur
Copy link
Owner

@moo-light Hi, Could you clarify what exactly you'd like to fix regarding the icon (may be you can add a before after screenshot), and what specific animations you'd like to add? This will help ensure we're on the same page.

Best wishes!

@moo-light
Copy link
Contributor Author

I want to change all the buttons animation UI to make it more interactable by hovering and have an animation
but i wonder if i should put it in sliding animation
image
or just plain old color change from 0%->100%
image

with the button icon i can add a little shake to it
image

@muhammadhafijur
Copy link
Owner

I want to keep it minimal and clean. But you can add a hover effect on these buttons. For example, bg-gray-100 on the hover state. Make sure to add hover:bg-green-500 for the active button logic so that the color won't change when hovering on the active button. You can also add a little transition to the button. Do let me know if you want to work on this, and then I will assign you.

Screenshot 2024-10-06 223040

@moo-light
Copy link
Contributor Author

moo-light commented Oct 7, 2024

Yeah totally

what you think i should change for the icon buttons

And can you assign me the copy button alignment too

Thank you very much

@muhammadhafijur
Copy link
Owner

I want to keep it minimal and clean. But you can add a hover effect on these buttons. For example, bg-gray-100 on the hover state. Make sure to add hover:bg-green-500 for the active button logic so that the color won't change when hovering on the active button. You can also add a little transition to the button. Do let me know if you want to work on this, and then I will assign you.

Screenshot 2024-10-06 223040

I can assign you this task, but for the copy button and icon button, could you give me a quick preview of what you plan to do? You can easily create it in Tailwind Play and share the link here. I'll take a look at it. Or you can give me a before after screenshot as well.

@moo-light
Copy link
Contributor Author

moo-light commented Oct 7, 2024

i want to adjust the icon spacing and text spacing so that it look evenly spaced
image
Example: https://play.tailwindcss.com/jzXPw6dFCJ

and i think for all the icon consistency i might remove the copy button hover rotating effect
image

or adding rotating effect for all the button
image
in the image you can see the yellow button background color changed and the svg rotated a little bit

@muhammadhafijur
Copy link
Owner

You can fix the copy button and add a conditional class like this :class="{'group-hover:stroke-emerald-500 stroke-emerald-500 rotate-[-4deg]': showCopyTooltip}" . don't need to change the hover rotate effect on copy button.

Also for rotating effect you can raise a PR. Then I will look on to it.

@moo-light
Copy link
Contributor Author

moo-light commented Oct 8, 2024

Thank for the advice of grouping classes in tailwind i will take note on that

please assign me the task with the button hovering effect in this issue.
image

I will make 2 more issue regarding the Copy button and the icon button hover animation effect so we can discuss more on there.
image
image

Thank again you for your patient

@muhammadhafijur muhammadhafijur changed the title Adding CSS Animation & fix Add hover effects to the 'CSS blend mode' buttons. Oct 9, 2024
@muhammadhafijur muhammadhafijur added the hacktoberfest PR for hacktoberfest label Oct 9, 2024
@muhammadhafijur
Copy link
Owner

Thank for the advice of grouping classes in tailwind i will take note on that

please assign me the task with the button hovering effect in this issue. image

@moo-light Assigned. Looking forward to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest PR for hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants