<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
span {
padding: 16px;
height: 10px;
width: 100px;
margin: 5px;
font-size: 25px;
box-shadow: 2px 3px 2px 3px rgba(0,0,0,0.5);
}
.label-1 {
color: green;
}
.label-2 {
color: yellow;
}
.label-3 {
color: red;
}
.label-1:hover {
background-color: green;
color: black;
}
.label-2:hover {
background-color: yellow;
color: black;
}
.label-3:hover {
background-color: red;
color: black;
}
</style>
</head>
<body>
<div class="container">
<h2> Study Topics </h2>
<p> Hover over the labels</p>
<span class="label-1">Easy </span>
<span class="label-2">Medium </span>
<span class="label-3">Difficult </span>
</div>
</body>
</html>