mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-13 07:35:33 +03:00
33 lines
459 B
HTML
33 lines
459 B
HTML
|
<style>
|
||
|
:root {
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
div {
|
||
|
width: 10ch;
|
||
|
word-wrap: break-word;
|
||
|
border: 1px solid blue;
|
||
|
transform: rotate(33deg);
|
||
|
line-height: 8ch;
|
||
|
padding: 2ch;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
margin-left: 7ch;
|
||
|
}
|
||
|
</style>
|
||
|
<div>
|
||
|
<a href='#clicked'>123321</a>
|
||
|
</div>
|
||
|
<script>
|
||
|
document.querySelector('a').addEventListener('click', () => {
|
||
|
window.__clicked = true;
|
||
|
});
|
||
|
</script>
|