My target to make the "FRUITS" by blue color and make the "CITRUS" by purple: color.But i shouldn't use any id or class. I should use All CSS Pseudo Classes. Can anybody help me understanding how it work? I use this example: [Nested Unordered List in a Parent Ordered List
ul li:last-child ol li {
color: #2dcc18;
}
ul > li:first-line {
color: #ddda0f;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<h2>Garden</h2>
<ul>
<li>item:
<ol>
<li>FRUITS</li>
<li>FRUITS</li>
<li>FRUITS</li>
</ol>
</li>
<li>Овощи:
<ol>
<li>Помидор</li>
<li>Картошка</li
</ol>
</li>
</ul>
<h2>Garden</h2>
<ul>
<li>Item:
<ol>
<li>CITRUS</li>
<li>CITRUS</li>
<li>CITRUS</li>
</ol>
</li>
<li>Овощи:
<ol>
<li>Помидор</li>
<li>Картошка</li
</ol>
</li>
</ul>
</body>
</html>