mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
23 lines
478 B
HTML
23 lines
478 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
fieldset {
|
|
display: inline; background: rgba(255, 255, 0, 0.7); color: black;
|
|
}
|
|
div { background: green; position:relative; z-index:1; }
|
|
div#one { float: left; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<form>
|
|
<fieldset>
|
|
<div id="one">I should be black text on a green background</div>
|
|
</fieldset>
|
|
<fieldset>
|
|
<div>I should be black text on a green background</div>
|
|
</fieldset>
|
|
</form>
|
|
</body>
|
|
</html>
|