<!DOCTYPE html>
<body>
  <p>First</p>
  <div>
    <style scoped>
      p + p { color: green }
    </style>
    <p>Second</p>
    <p>Third</p>
  </div>
</body>