I have two different mvc projects in one solution. One is web api project and other is to consume that api. Both have Content folder and Site.css in them. Now in web api consuming project I am showing fetched details in HTML table format like grid. I'm showing individual record details on different view by onclick of record row. Now, before I click the row, I need to change HTML table row (tr) color or style on mouse hover in this consuming project. I have written below css in Site.css in web consuming project Site.css file.
tbody tr:hover {
cursor:pointer;
background-color:grey;
color:blue;
}
And have referenced the same on Layout view in head section as below
<head>
@System.Web.Optimization.Styles.Render("~/Content/css")
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
@System.Web.Optimization.Scripts.Render("~/bundles/modernizr")
</head>
But its not working. Any help please.