<!DOCTYPE html>
<html lang="en-US">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body{
height:1000px;
}
@media (overflow-inline: scroll) {
h1{
color:green;
}
}
</style>
</head>
<body>
<h1>CSS @media overflow-inline</h1>
<p><strong>Note</strong>: Media 'overflow-inline' works only in firefox.</p> </body>
</html>