blob: a0684dca6f365e4938a94701cecd182fbfedae1f [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>NEGATED :checked pseudo-class</title>
<style type="text/css">input, span { background-color : red }
input:not(:checked), input:not(:checked) + span { background-color : lime}</style>
<link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
<link rel="prev" href="css3-modsel-69.html" title="NEGATED :disabled pseudo-class">
<link rel="next" href="css3-modsel-72.html" title="NEGATED :root pseudo-class">
<link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child">
<link rel="up" href="./index.html">
<link rel="top" href="../../index.html">
</head>
<body>
<p>
<input type="checkbox"> <span>Everything in this paragraph should have a green background</span></p>
</body>
</html>