mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
26 lines
544 B
HTML
26 lines
544 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
p { color: red; }
|
|
[
|
|
p { color: red !important; }
|
|
p { color: red !important; }
|
|
] p { color: red !important; }
|
|
p { color: green; }
|
|
</style>
|
|
<style>
|
|
div { color: red; }
|
|
:not([)
|
|
div { color: red !important; }
|
|
div { color: red !important; }
|
|
]) div { color: red !important; }
|
|
div { color: green; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>This text should be green.</p>
|
|
<div>This text should be green.</p>
|
|
</body>
|
|
</html>
|