Link to a css file
See original GitHub issueWhat 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:
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top 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 >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
Hey @chanan what’s your thoughts about this? https://github.com/alexandrereyes/BlazorScopedCss
Closing this, let me know if you have more questions