I am attempting to customize the color of the pagination in Bootstrap, but no matter what I try, it remains blue. My goal is to have the active pagination links in red and the inactive ones in black. What could be causing this issue?
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" <link rel="stylesheet" href="http://path/to/font-awesome/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
.pagination ul {
display: inline-block;
padding: 0;
margin: 0;
}
.pagination li {
display: inline;
}
.pagination li a {
color: black;
float: left;
padding: 8px 16px;
text-decoration: none;
}
.pagination li a.active {
background-color: red;
color: white;
}
.pagination li a:hover:not(.active) {
background-color: #ddd;
}
</style>
</head>
<body>
<div class="container text-center">
<ul class="pagination">
<li><a href="#">«</a>
</li>
<li><a href="#">1</a>
</li>
<li class="active"><a href="#">2</a>
</li>
<li><a href="#">3</a>
</li>
<li><a href="#">4</a>
</li>
<li><a href="#">5</a>
</li>
<li><a href="#">»</a>
</li>
</ul>
</div> *emphasized text*</div>
</body>
</html>