mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
14 lines
241 B
HTML
14 lines
241 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
span { color: red }
|
|
:checked + span { color: green }
|
|
input { display: none }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<input type="checkbox" checked="checked" id="foo"><span>There should be no red</span>
|
|
</body>
|
|
</html>
|