<!DOCTYPE html>
<body>
<p>First</p>
<p>
<style scoped>
@media not all {
p { text-decoration: underline }
}
@media all {
p { color: blue }
</style>
Second
</p>
<p>Third</p>
</body>