mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 19:10:26 +00:00
24 lines
464 B
HTML
24 lines
464 B
HTML
<link rel="match" href="reference/clip-path-polygon-ref.html" />
|
|
<style>
|
|
.comment {
|
|
position: absolute;
|
|
|
|
left: 20px;
|
|
width: 100px;
|
|
height: 50px;
|
|
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.comment::before {
|
|
position: absolute;
|
|
right: 100%;
|
|
width: 8px;
|
|
height: 16px;
|
|
pointer-events: none;
|
|
content: " ";
|
|
background-color: black;
|
|
clip-path: polygon(0 50%, 100% 0, 100% 100%);
|
|
}
|
|
</style>
|
|
<div class=comment></div>
|