mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
15 lines
380 B
HTML
15 lines
380 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
div { background: green; }
|
|
div::first-line { background-color: red; }
|
|
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>
|