blob: 1c3656119d2e79f8312324a0f6708e0d9c755fba [file] [log] [blame]
<!DOCTYPE html>
<body>
<script>
document.body.attachShadow({ mode: 'open' }).innerHTML =
`<style>
div::after {
display: inline-block;
content: 'Hello world!';
animation: spin 1s infinite;
}
@keyframes spin {
from { transform: rotate(180deg) }
to { transform: rotate(180deg) }
}
</style>
<div></div>`
</script>