Lets say I have this simple HTML page
<html>
<head>
<link href="/styleA.css" rel="stylesheet" type="text/css" />
<link href="/styleB.css" rel="stylesheet" type="text/css" />
<link href="/styleC.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class='myDivClass'>Hello World!</div>
</body>
</html>
As you can see there are three style sheets. Lets say these style sheets look like so:
styleA.css
.myDivClass{
background-color:red;
color:black;
}
styleB.css
.myDivClass{
background-color:blue;
color:white;
}
styleC.css
.myDivClass{
background-color:green;
}
As you can see they all apply a style to myDivClass in some way. How does the browser pick which style sheet is more important in terms of applying its style?