Add the ability to specify class for Link
See original GitHub issueHello!
I want to know if it’s possible to add custom class to the generated a
element created from the link? Or if it’s not, if you are going to add this ability?
Thank you!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:13 (1 by maintainers)
Top Results From Across the Web
link - CSS: Cascading Style Sheets - MDN Web Docs
The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited or element that has an href...
Read more >Changing a link-style, only for a certain class - Stack Overflow
Another method is giving the links a class of their own, eg: CSS a.navlink:visited a.navlink:hover { background-color: #3366FF; }.
Read more >link - CSS-Tricks
The :link selector is a pseudo-class that targets all anchor () elements on a page that have an href attribute:
Read more >CSS :link Selector - W3Schools
The :link selector is used to select unvisited links. Note: The :link selector does not style links you have already visited. Tip: Use...
Read more >Insert Link: consider adding an "Additional CSS Class" field to ...
there is ofcourse the workaround to set this in the HTML view. I'm a technie myself, but the new editor is such a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Another option:
<a use:link href="/login" class="text-lg text-gray-600 hover:text-gray-700 px-3">Login</a>
@mefechoel you earned your 1st follower, cant say how long for tho, im pretty fussy)