blob: a76d5397c32676b1fd7f49866056845ed2b2dfe0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!doctype HTML>
<html>
<meta charset="utf8">
<title>Content Visibility: pseudo elements</title>
<link rel="author" title="Rakina Zata Amni" href="mailto:rakina@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
<style>
#container::before {
content: "This test ";
color: green;
}
#container::after {
content: "PASSES.";
background: green;
color: white;
}
</style>
<div id="container"></div>
</script>
</html>
|