0

I'm new to ASP core MVC, Im trying to create a nav section. I created the following path to my CSS: Content/CSS/stylesheet. I dragged the sheet (with some simple css) into the head of the _Layout page. When I load up the page using the layout template, no css to be found.

This is purely just learning MVC.

The layout folder is Views/Shared/_Layout.

Ive tried different paths Ive tried different css

<head>
    <meta name="viewport" content="width=device-width" />
    <link href="~/Content/CSS/stylesheet.css" rel="stylesheet" /> //This wont work
    <title>@ViewBag.Title</title>

</head>

0 Answers0