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

How to config default hover style? #811

Closed
vincent-lu opened this issue Apr 1, 2019 · 5 comments
Closed

How to config default hover style? #811

vincent-lu opened this issue Apr 1, 2019 · 5 comments

Comments

@vincent-lu
Copy link

Hi I'm trying to override the default hover style on <a> where it applies a 1px bottom border. I know you can define hover variants by using hover:text-blue-darker but is there a way to disable the default 1px bottom border from tailwind's config?

Thanks.

@jeroengerits
Copy link

border-transparent

@vincent-lu
Copy link
Author

Thanks @jeroengerits. Is there a way to define without border for hovered links as default style in tailwind's config?

@jeroengerits
Copy link

you have border-0 or no-underline... not sure what you are referring to

@vincent-lu
Copy link
Author

Sorry I'm new to tailwind; what I'm trying to do is to remove the border settings on a tag by default.

I'm assuming there is a way to do this by setting it in https://tailwindcss.com/docs/configuration file.

@vincent-lu
Copy link
Author

Thanks for the help @jeroengerits I figured it out. I was using roots/sage's tailwind and it has a _global.scss file that defined this style I was trying to override.

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

No branches or pull requests

2 participants