Here is the layout of my Index.cshtml page:
<html>
<head runat="server">
<link href="~/Content/index.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder ID="HeadContent" runat="server" />
</head>
<body>
<h1 class="title text-center">Master/Detail</h1>
<div class="md-container">
<div class="col-3 master">
<div class="master-item active-item" onclick="select(this)">Option 1</div>
<div class="master-item" onclick="select(this)">Option 2</div>
<div class="master-item" onclick="select(this)">Option 3</div>
<div class="master-item" onclick="select(this)">Option 4</div>
</div>
<div class="col-9 detail">
<button id="back-btn" class="hidden-md" onclick="back()">< Back</button>
<h1 class="detail-title text-center">Option 1</h1>
</div>
</div>
</body>
</html>
https://i.sstatic.net/yC98j.png
This is the structure of my project:
Despite trying to add @Url.Content after the <link href
tag, the CSS is not displaying on the website at all.
What could be causing this issue?