blob: 16115ddb8df9a1f05b95e3950b6ebcebff81ed95 [file] [log] [blame]
<html>
<style>
#target
{
display: table;
border-color: green;
border-style: solid;
padding: 1em 1em;
}
#target::after
{
content: "AFTER";
display: table;
border-color: blue;
border-style: solid;
padding: 1em 1em;
}
</style>
<div id="target">
<span>CONTENT </span>
</div>
<script>
document.body.offsetTop;
target.style.color = "red";
</script>
</html>