Question: I'm trying to build a static site using Angular. What I want is to have some global css/js/image files to be added to the `index.html`

This is my code in `index.html`

```
<link rel="stylesheet" type="text/css" href="css/layers.css">

```

My `css` folder in in the same level as the `index.html` file

I'm getting this error for each stylesheet I added (from ng serve with chrome)

> 
> Refused to apply style from '<http://localhost:4200/css/layers.css>' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
> 
> 
> 

I've tried adding this too

```
#.angular-cli.json
"styles": [
        "styles.css",
        "css/layers.css"
      ],

```

How can I fix this?

My angular setup is

```
Angular CLI: 1.6.5
Node: 8.1.4
OS: darwin x64
Angular: 5.2.2
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.6.5
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.5
@schematics/angular: 0.1.17
typescript: 2.5.3
webpack: 3.10.0

```

Answer: 
@sameera207 Answers in comments are correct, relative path must work, I too had same issue and answers of comments are working for me. I tried to reproduce your error, I made css folder at level of index.html and added css file then added path in styles array.

```
"styles": [
    "styles.css",
    "./css/my-styles.css",
    "../node_modules/bootstrap/dist/css/bootstrap.min.css",
    "../node_modules/tether/dist/css/tether.min.css"
  ],

```

then **restarted server**, I mean performed `ng serve` again and its working. Make sure you have done it and **restared server** and if still problem persists please let me know, I would be glad to help you.Thanks.
(\*Note: regarding asp.net boilerplate zero (paid version) but could be your solution also \*)

Yes, @Franklin, strange though for a paid app making me repeatedly look like a forgetful old man. ;-) But might be system related.

I did found:
[support.aspnetzero.com/QA/Questions/7742/Refused-to-apply-style-from-](https://support.aspnetzero.com/QA/Questions/7742/Refused-to-apply-style-from-%27URL%27-because-its-MIME-type-%27texthtml%27-is-not-a-supported-stylesheet-MIME-type-and-strict-MIME-checking-is-enabled#answer-c620c30c-9df3-c49b-dfb1-39f083974d40) :

"run >> ***gulp build*** << command on terminal and recreate minified files"

worked for me. (again ;-) )