Skip to content

Commit

Permalink
testing content capsule
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchox5 committed Sep 26, 2023
1 parent d88fd02 commit 49ea8cc
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion examples/arcgrid.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
body {
font-family: 'Lucida Sans', Verdana, sans-serif;
}
.capsule {
rotate: calc(var(--rotate) * -1 * 45);
padding: 10px;
width: 100%;
height: 100%;
border: 1px solid rgb(113, 110, 110);

}
.arc {
place-items: center;
--width: 12px;
background-color: darkslategray;
}
</style>
</head>
<body>
Expand Down Expand Up @@ -80,7 +93,11 @@
<div class="arc"></div>
<div class="arc"></div>
<div class="arc"></div>
<div class="arc"></div>
<div class="arc">
<div class="capsule">
hola
</div>
</div>
</div>
<div class="ring " style="--progress: 55; width: 110px; height: 110px;">
<div class="item xs bg-primary" style="--item-number: 2; --angle: calc(-90 + var(--progress) * 3.6)"></div>
Expand Down

0 comments on commit 49ea8cc

Please sign in to comment.