@aidenlx/player
Version:
Headless web components that make integrating media on the a web a breeze.
30 lines (26 loc) • 459 B
JavaScript
import "../../chunks/chunk.LNH2V2XS.js";
import { css } from "lit";
const audioElementStyles = css`
:host {
display: inline;
contain: content;
}
:host([hidden]) {
display: none;
}
audio {
display: inline;
border-radius: inherit;
vertical-align: middle;
outline: 0;
border: 0;
user-select: none;
-webkit-user-select: none;
}
audio:not([width]) {
width: 100%;
}
`;
export {
audioElementStyles
};