I don't believe jumping to css classes and ids is supported natively by Vscode. Try the CSS Peek extension, it does what you want nicely.

Answer from Mark 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 import custom css and js extension - Stack Overflow
I'd like to install custom styles in order to have different fonts for classes and attributes in visual studio code. I installed the Custom CSS and JS Loader extension, and followed the guide but it More on stackoverflow.com
🌐 stackoverflow.com
javascript - Visual Studio Code doesn't add CSS Stylesheets and JS-Files to HTML code - Stack Overflow
I migrated my project from Visual Studio Enterprise to Visual Studio Code and now my CSS and JS-Files are not being embedded in the HTML-File anymore. There are no error-messages. I think the probl... More on stackoverflow.com
🌐 stackoverflow.com
VS Code able & not able to format CSS
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... More on github.com
🌐 github.com
3
December 27, 2018
🌐
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!
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
🌐
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.
🌐
Stack Overflow
stackoverflow.com › questions › 71587988 › visual-studio-code-doesnt-add-css-stylesheets-and-js-files-to-html-code
javascript - Visual Studio Code doesn't add CSS Stylesheets and JS-Files to HTML code - Stack Overflow
I migrated my project from Visual Studio Enterprise to Visual Studio Code and now my CSS and JS-Files are not being embedded in the HTML-File anymore. There are no error-messages. I think the probl...
🌐
tutorialpedia
tutorialpedia.org › blog › css-not-styling-html-visual-code
Troubleshooting: CSS Not Styling HTML in Visual Studio Code — tutorialpedia.org
For example, have a html folder for HTML files, a css folder for CSS files, and a js folder for JavaScript files.
🌐
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 with css inside style tags… WORKS NO PROBLEM. ...
Author   919Studios
🌐
Stack Overflow
stackoverflow.com › questions › 63619528 › visual-studio-code-html-css-javascript-program-not-appearing-correctly-in-my-bro
visual studio code html css javascript program not appearing correctly in my browser - Stack Overflow
When I click it only the content of the index.html file appears. Nothing more that I need ... Like @Greg-- Has mentioned you can't run scss in the browser and will need to be converted to css before running.
🌐
Codecademy Forums
discuss.codecademy.com › get help › css
Can't open index.css file on Visual Studio Code - CSS - Codecademy Forums
June 1, 2020 - I’m studying Web Development. I’m currently still stuck on Section 2, “Styling a Website” >“Create Your First HTML/Project”, step 2.2. Step 2.2 instructs us to open the index.css file on our favorite file editor. We were…
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Custom CSS and JS Loader - Visual Studio Marketplace
October 21, 2025 - Extension for Visual Studio Code - Custom CSS and JS for Visual Studio Code
🌐
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…
🌐
Reddit
reddit.com › r/vscode › vs code = js and css files don't work in chrome?
r/vscode on Reddit: VS code = JS and CSS files don't work in Chrome?
May 28, 2019 -

Hello everyone,

I downloaded VSCode for the first time two days ago and was pimped to get started on this awesome tool. But I have an issue: whenever I tie a CSS file or a JS file into the project, the browser does not recognise it and it is not run.

I have tried both FF (newest version) and Chrome (newest version), but the error persists.

As I am quite a raw beginner at web development (less than two months experience), I have also checked the code by rewriting it in Atom on my other machine and running it there. There it works.

Now I am wondering what I might be doing wrong. Can anybody help me with this issue?

Thanks in advance

GroundbreakingSpell

🌐
Stack Overflow
stackoverflow.com › questions › 74076471 › how-do-i-use-external-css-in-an-html-document-in-vsc
How do I use external CSS in an HTML document in VSC? - Stack Overflow
Please provide enough code so others can better understand or reproduce the problem. ... First of all you need to save both the files with .html or .htm extension for html file and .css for css file