The question is: Where is your html file? Obviously not in the root folder, but probably in another sub folder. Try this

<link rel="stylesheet" href="../css/style.css" />

This navigates one level up and then into the css folder.

Answer from Johannes on Stack Overflow
🌐
Reddit
reddit.com › r/css › css is not working in vs code- help ( i am linking it correctly)
r/css on Reddit: CSS is not working in Vs code- HELP ( I am Linking it correctly)
October 26, 2020 -

I tried using bootstrap in my code for the first time and then after that my previous css work would not display. Now even though I’ve cut out the bootstrap and even tried making another simple bellow world page just to check , simple css like color won’t work. I’ve tried internal and inline Internal seems to be working for a complicated homepage but doesn’t for a simple hello world

EDIT- here’s my code And
This is it without bootstrap

Discussions

CSS not linking with HTML
Issue Type: Performance Issue Can you please tell me why my external style.css file is not linking to my HTML file? I have a folder called css and a file within my css folder called style.css. In t... More on github.com
🌐 github.com
2
July 16, 2022
visual studio code - How to solve CSS intellisense for VSCode not working? - Stack Overflow
Well, this is embarrassing, basically, the CSS Intellisense stopped working out of the blank, not sure if I can relate it with the installation of TailWind Intelissense extension, interestingly it ... More on stackoverflow.com
🌐 stackoverflow.com
# style.css isn’t showing up like this in Open Editors/ VSCodes
I am trying to open a new file. I have already created my html file, now css. The problem is the hashtag isn’t popping up to represent a css file. It only shows the document icon. I’ve googled but can’t seem to find anywhere that gives directions on how to fix it. More on discuss.codecademy.com
🌐 discuss.codecademy.com
0
0
July 2, 2023
Can't create a CSS file in Visual studio Code - Stack Overflow
Guys I cannot create a CSS file in VS code. it shows this '#' icon instead of CSS one I used to create this CSS file without any issue before More on stackoverflow.com
🌐 stackoverflow.com
🌐
Visual Studio Code
code.visualstudio.com › docs › languages › css
CSS, SCSS and Less
November 3, 2021 - There is jump to definition for @import and url() links in CSS, SCSS and Less. You can extend VS Code's CSS support through a declarative custom data format.
🌐
GitHub
github.com › microsoft › vscode › issues › 155409
CSS not linking with HTML · Issue #155409 · microsoft/vscode
July 16, 2022 - Issue Type: Performance Issue Can you please tell me why my external style.css file is not linking to my HTML file? I have a folder called css and a file within my css folder called style.css. In the 'head' section I have a link which st...
Author   Glenda9031
🌐
Sololearn
sololearn.com › en › Discuss › 2965224 › help-i-need-to-link-my-css-and-html-documents-in-vs-code
Help I need to link my css and html documents in vs code | Sololearn: Learn to code for FREE!
January 20, 2022 - What is the name of your external css file, if it is cssfile then in the head tag add <link rel="stylesheet" href="cssfile.css" > If the css file and html files are in the same directory then maybe the problem is that you havent added the extension ...
Find elsewhere
🌐
Codecademy Forums
discuss.codecademy.com › web development › front-end
# style.css isn’t showing up like this in Open Editors/ VSCodes - Front-End - Codecademy Forums
July 2, 2023 - I am trying to open a new file. I have already created my html file, now css. The problem is the hashtag isn’t popping up to represent a css file. It only shows the document icon. I’ve googled but can’t seem to find anyw…
🌐
YouTube
youtube.com › tech talk tutorials
How To Set Up an External CSS File in a Folder Using VS ...
VS Code: How To Set Up An External CSS File That Is In A FolderThis is a video tutorial on how to set up an external CSS file using Visual Studio Code (VS Co...
Published   August 25, 2021
🌐
GitHub
github.com › Microsoft › vscode › issues › 65737
VS Code able & not able to format CSS · Issue #65737 · microsoft/vscode
December 27, 2018 - VS Code able & not able to format CSS VSCode Version: 1.30.1 OS Version: NA Does this issue occur when all extensions are disabled?: YES IT DOES STEPS TO REPRODUCE: 1.Format an HTML document wi...
Author   919Studios
🌐
GitHub
github.com › ritwickdey › vscode-live-server › issues › 2404
VS Code> CSS file not showing in live server · Issue #2404 · ritwickdey/vscode-live-server
Browser: - [ x] Chrome (desktop) version XX - [ ] Firefox version XX - [ ] Safari (desktop) version XX - [ ] IE version XX - [ ] Edge version XX For Tooling issues: - Live Server: <!-- Check which version is installed --> Ritwickdey.liveserver v5.7.5 - Platform: <!-- Mac, Linux, Windows -->Windows 10 Home 64 bit - Visual Studio Code: <!-- `code --version` --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Y.Eser goedkope Stukadoors | Professionele stukadoorsbedrijf door heel Nederland</title> <link href="css/styles.css" rel="stylesheet" type="text/css"> </head> [https://codepen.io/yazzynemri/pen/zYpawWP ](url)
Author   ghost
🌐
GitHub
github.com › be5invis › vscode-custom-css › issues › 148
Can't load CSS in vscode 1.58 · Issue #148 · be5invis/vscode-custom-css
July 9, 2021 - Yesterday I updated my vscode and repeated the "after-update" routine: 1- Disable custom CSS; 2- Restart vscode; 3- Enable custom CSS; 4- Restart vscode; After that, the "Your vscode instalation seems to be broken" message didn't appear ...
Author   arucuenca
🌐
freeCodeCamp
forum.freecodecamp.org › html-css
VS Code HTML and CSS preview not linking - HTML-CSS - The freeCodeCamp Forum
May 12, 2023 - Hi all, I have been staring at this for two days now, but struggling a lot for CSS code file to show up on HTML preview when using VS Code. (I really like VS Code and don’t really want to switch to Brackets or other co…
🌐
Quora
quora.com › How-do-I-use-HTML-and-CSS-in-Visual-Studio-Code
How to use HTML and CSS in Visual Studio Code - Quora
Open Visual Studio Code (of course), then go to explorer, click ‘new file’ and name it index.html, or any name ending with .html. Then copy paste this: ... Then go to extensions. Download ‘Live Server’ . Go back to your html file, do a right click (on Windows) or a double click (on a MacBook), click ‘open with live server’. It will open your browser and show you the result.
🌐
GitHub
github.com › ritwickdey › vscode-live-server › issues › 142
CSS file doesn't load · Issue #142 · ritwickdey/vscode-live-server
June 2, 2018 - Hi! I am running live-server to quickly see changes in my web page trials. Changes in html are reloaded well. However, it appears that the CSS file does not load. If I use the "file://" o...
Author   Icomanman