<!doctype html>
<style>
div:first-letter {
color: green;
font-size: 2em;
}
span:first-letter {
color: red;
}
</style>
This test is successful if the first letter is green.
<div>
<span>Green</span>
</div>
<!doctype html>
<style>
div:first-letter {
color: green;
font-size: 2em;
}
span:first-letter {
color: red;
}
</style>
This test is successful if the first letter is green.
<div>
<span>Green</span>
</div>