'Several CSS files do not show in live server VS Code, but do in Codepen
Unfortunately I can not proceed working in any CSS File as now changes are not showing in live server in VS code. On the other hand HTML file is working in live server.Every change I make in HTML file is showing in the live server. I have checked ritwickdey on Github enter link description herehttps://github.com/ritwickdey/vscode-live-server
However, the css file is showen fully in codepen.
I re-installed the live server and VS code. Reset JSON.settings in VS-code.
- issue with live server v5.7.5, ritwickdey.liveserver
- chrome: latest version
- Live server Port: 49486
- machine: Windows home 10 64bit
- Server: mijnmodem.kpn.home Address: fe80::b2ac:d2ff:fe61:3581
Anyone ever faced the same problem or know how to fix it that css file is showing in live server?
Solution 1:[1]
I have solved this issue in order to copy the relative link of the css.style file into link href="css/styles.css". I could not figure it out before, because 1 other css file is loading in live server. Outside the online courses I had so far I just getting started to build a website in VS-code. So I'm bit unformaliar with VS-code. See below links to solve issue when CSS file is not working in live server.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Yazzy |
