Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div#outer-yellow
{
background-color: yellow;
height: 100px;
padding: 50px;
width: 100px;
}
div#inner-green
{
background-color: green;
height: 100px;
}
</style>
<p>Test passes if there is a filled green square surrounded by a yellow square and if there is <strong>no red</strong>.
<div id="outer-yellow">
<div id="inner-green"></div>
</div>