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.

Link to a css file

See original GitHub issue

What do you think about: <Styled src="myStyle.css" /> ?

this way, I can segregate CSS from razor file, like @inherits to use a base class. Another benefit is to have intelisense on CSS

the result would be: image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
alexandrereyescommented, Aug 23, 2019

Hey @chanan what’s your thoughts about this? https://github.com/alexandrereyes/BlazorScopedCss

0reactions
chanancommented, Feb 10, 2020

Closing this, let me know if you have more questions

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to add CSS
To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property. Example. Inline styles...
Read more >
How to Link CSS to HTML – Stylesheet File Linking
It is a clickable link, so you can also hold CTRL and click it to view the CSS file. For example, href="styles.css" if...
Read more >
How to Link CSS to HTML Files in Web Development
If both HTML and CSS files are in the same folder, enter only the file name. Otherwise, include the folder name in which...
Read more >
Linking CSS Files to HTML: The Ultimate Tutorial for You
To link the CSS to an HTML file, we use the <link> tag inside the HTML <head> section. link-css-to-html. Your CSS file will...
Read more >
External CSS Stylesheets – How to Link CSS to HTML and ...
You'll write rel="stylesheet" to tell the browser that you are importing a stylesheet. The href attribute. The second indispensable attribute is ...
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