.MyClass1 {
font-size:18px;
color:#808080;
}
.MyClass2 {
background-color: #202020;
color:#E0E010;
font-size:14px;
}
.MyClass3 {
border-bottom: 1px solid #C02020;
font-size:14px;
}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<link rel="stylesheet" type="text/css" href="ClassSelector.css" />
</head>
<body>
<div class="MyClass1">コンテンツ その1 (クラス1)</div>
<div class="MyClass2">コンテンツ その2 (クラス2)</div>
<div class="MyClass3">コンテンツ その3 (クラス3)</div>
</body>
</html>