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
{
background-color: yellow;
color: green;
display: inline-block;
font-size: 48px;
line-height: 1.25; /* computes to 60px */
}
</style>
<p>Test passes if "Text sample" is green and if its background color is yellow.
<div>Test sample</div>