<!doctype html>
<style>
div::first-letter {
color: green;
}
div::first-line {
color: blue;
</style>
<div style="font-size: 20px">My first letter should be green, and the whole line 20px in size</div>