<!DOCTYPE html>
<body>
  <style scoped>
    p::first-line { color: green; }
    span { color: blue; }
  </style>
  <p>First line<br><span>Second line</span></p>
</body>