Skip to content

How do we style Links (or the 'a' elements generated from them)?ย #48

Description

@mikemaccana

Heya!

yrv works great, thank you! One quick question - how do I style a link? For example, I have:

<Link href="/{work.slug}" class="link">

which becomes:

<a href="/boomsaas" class="link" title="">

But if I try and style using a class "link" svelte complains the selector is unused:

Error: css-unused-selector

.link {
    width: 100%;
  }

How can I style a Link/a element?

Thanks! ๐Ÿ˜ƒ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions