Currently, I am working on a HTML page that includes multiple javascripts and css files in the header section.
<link href="@Url.Content("~/Content/css/main.css")" rel="stylesheet" type="text/css" />
In order to make the website mobile-friendly, I searched for online resources. However, when I added another css file "app.css," it started causing conflicts with the original main.css file. Since both files are large, I am looking for a way to reference only one of them using a single block of code.
For instance:
I want this section of HTML
<div>
<nav id="topMenu" role="navigation">
<ul id="nav" class="nav-bar">
<li><a href="@Url.Action("Index", "Home")">Pending Entries</a></li>
<li><a href="@Url.Action("MyStores", "Home")">My Stores</a></li>
<li><a href="@Url.Action("Upload", "Home")">Create New Entry</a></li>
<li><a href="@Url.Action("MyEntries", "Home")">My Entries</a></li>
<li><a href="@Url.Action("Index", "ImageGallery")">Gallery</a></li>
<li><a href="@Url.Action("Logout", "Home")">Logout</a></li>
</ul>
</nav>
</div>
to be styled using only this css file
<link href="@Url.Content("~/Content/css/app.css")" rel="stylesheet" type="text/css" />
while ignoring the main.css file, but keeping it applied to the rest of my HTML content.