Debian Codegraph @

fixtures/click-wrapped.html

raw
1 <html>
2 <style>
3 body {
4 margin: 0;
5 padding: 0;
6 }
7
8 #container {
9 position: absolute;
10 left: 100px;
11 top: 100px;
12
13 width: 400px;
14 line-height: 150px;
15 overflow-wrap: break-word;
16 transform: rotate(-20deg) skew(20deg);
17 }
18 #target {
19 font-size: 30px;
20 padding: 20px;
21 margin: 20px;
22 border: 2px dashed black;
23 }
24 </style>
25 <body>
26 <div id="container">
27 <code id="target" onclick='this.setAttribute("a", "ok")'>
28 long-text-content-to-wrap
29 </code>
30 </div>
31 </body>
32 </html>