Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-color/t423-transparent-2-a.xht - WPT Dashboard Interop Dashboard
<head>
<title>CSS Test: transparent</title>
<link rel="match" href="t423-transparent-2-a-ref.html" />
<meta name="assert" content="That the 'transparent' color keyword makes colors transparent." />
<style type="text/css"><![CDATA[
html, body { background: black; }
p { color: white; }
#two { color: transparent; }
]]></style>
</head>
<body>
<p id="one">This should be the only text visible on this page.</p>
<p id="two">This text should NOT be visible.</p>
</body>
</html>