mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
14 lines
351 B
HTML
14 lines
351 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
div, p { background: green; }
|
|
div::first-line, p::first-line { background-color: red; }
|
|
span.one { background: inherit; }
|
|
span.two { background-color: inherit; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div><p><span class="one">One</span><span class="two">Two</span></p></div>
|
|
</body>
|