Home > Blockchain >  CSS not reflected in browser when running project
CSS not reflected in browser when running project

Time:11-04

Using Visual Studio 2017 I have a Single Solution with two projects. I have linked the CSS files from project1 to project2, I can see that the css is being read correctly in Visual Studio Design BUT when I run the project it is not reflected in the browser.

Is there something else I should be considering within either project's settings?

I am fairly new to Visual Studio and was tasked to find a way to allow multiple projects to use the same CSS files. Any assistance would be greatly appreciated.

CodePudding user response:

Do you see your styles, when you open dev tools in browser? If you don't you probably made mistake in linking css file. Try clicking on that link with SHIFT, if it directs you to your css file, it is right. Otherwise try to find some typo in html classes or somtehing like that. You can also try cache restart on that page by pressing CTRL R

CodePudding user response:

To emphasize a bit what Chris W. said, what CSS query output do you get when you open the Network tab of your browser's devtools?

  • Related