<html>
<head>
<style>
div::first-line { color: red; background-color: blue; font-size: 200%; text-transform: uppercase; }
</style>
</head>
<body>

<div>
<span>Line number one.<br/>Line number two.<br/>Line number three.</span>
</div>

<div style="height: 50000px;">
<!-- to force a scrollbar -->
</div>

</body>
</html>