You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Local style sheet relative to workspace folder -->
30
33
31
-
<!-- (2) Local style sheet relative to workspace folder -->
32
34
<linkrel="stylesheet"href="/style.css">
33
35
34
-
<!-- (3) Local style sheet relative to this file -->
35
-
<linkrel="stylesheet"href="style.css">
36
+
<!-- Local style sheet relative to this file -->
36
37
37
-
<!-- (4) Local style sheet relative to this file -->
38
-
<linkrel="stylesheet"href="./style.css">
38
+
<linkrel="stylesheet"href="style.css">
39
39
40
-
<!-- (5) Embedded style sheet -->
40
+
<!-- Embedded style sheet -->
41
+
41
42
<style>
42
43
#content {
43
44
display: block;
@@ -127,7 +128,9 @@ Styles defined in `base.html` will also be available for completion in `home.htm
127
128
128
129
## Additional Style Sheets
129
130
130
-
If it is not possible to specify local or remote styles in HTML or via template inheritance, they can be specified in VS Code settings per workspace folder in `.vscode/settings.json` and will suggest for all HTML files within that workspace folder:
131
+
If it is not possible to specify local or remote styles in HTML or via template inheritance, they can be specified in VS Code settings per workspace folder in `.vscode/settings.json` and will suggest for all HTML files within that workspace folder.
132
+
133
+
### Example
131
134
132
135
**`.vscode/settings.json`**
133
136
```json
@@ -136,13 +139,12 @@ If it is not possible to specify local or remote styles in HTML or via template
All relative paths will be evaluated relative to the HTML file being edited. `${fileBasenameNoExtension}` will be replaced with the base name of the file being edited.
147
+
All relative paths will be evaluated relative to the file being edited. `${fileBasenameNoExtension}` will be replaced with the file name of the file being edited without extension.
146
148
147
149
## Supported Languages
148
150
@@ -166,6 +168,10 @@ This setting is application scoped and changing the setting requires restarting
166
168
167
169
Validates all `id` and `class` attributes in the active editor.
168
170
171
+
### Clear Cache
172
+
173
+
Clears file cache.
174
+
169
175
## Installation
170
176
171
177
Extension can be installed from [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css).
0 commit comments