I am using Visual Studio 2017 with IIS Express 10.0 in windows 10.
The design view of my page looks like this:
However when I run the application, the css doesn't get rendered correctly.
Here is the html output from Firefox inspect source:
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/font-awesome.min.css" />
<link rel="stylesheet" href="css/animate.css" />
<link href="css/animate.min.css" rel="stylesheet" />
<link href="css/style.css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<form method="post" action="./Login.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="Y+iBhsvTjpuc5zgIsI/i4c9x9v3I1LeUdSJ8+lHgt7TMBhQF3FSgdZ8VTXCB6YMVb9eO7XVg4Ar5BDj7GzmsVJFfvBd+7FfI8gpoKobV3htrhGga9SBUu7HVK0cC3HRjiF8sfT2yKsMjQem8pUV3Ng==" />
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
Previously, there was no such error but for unknown reason the element tags are rendered in the server as aspNetHidden.
I have cleared cache of my browser and restarting application/pc without any success.
Is it because of new 2017 auto-sync CSS feature of VS 2017?
Any way of resolving the issue?

~), which get resolved at runtime.