Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<!doctype html>
<meta charset="utf-8">
<html>
<title>prefers-color-scheme is supported</title>
<style>
div {
width: 100px;
height: 100px;
}
@media (prefers-color-scheme) {
div { background-color: green; }
}
</style>
<div></div>
</html>