Hi, how can i make a legend tag (https://www.w3schools.com/tags/tag_legend.asp) in a frame and in a panel widget’s “frame”, like “personalia” in the linked example?
Should be done by css…
Thanks…
Hi, how can i make a legend tag (https://www.w3schools.com/tags/tag_legend.asp) in a frame and in a panel widget’s “frame”, like “personalia” in the linked example?
Should be done by css…
Thanks…
I don’t think that’s possible currently sorry.
Looks like it’s possible to hack it (the label goes in html
, the following in css
):
:host {
/* mimics parent's padding=10 to add some space around the frame */
--widget-spacing: 5rem;
}
.html {
position: absolute;
line-height: 10rem;
padding: 0 4rem;
top: 0;
left: 10rem;
z-index: 10;
background: var(--color-background);
}
Whoa awesome, nice! Thanks very much!