question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add the ability to specify class for Link

See original GitHub issue

Hello! 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
bskimballcommented, Nov 11, 2020

Another option: <a use:link href="/login" class="text-lg text-gray-600 hover:text-gray-700 px-3">Login</a>

2reactions
quantuminformationcommented, Sep 4, 2020

@mefechoel you earned your 1st follower, cant say how long for tho, im pretty fussy)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found