25 lines
466 B
TypeScript
25 lines
466 B
TypeScript
import { style } from '@vanilla-extract/css';
|
|
import { DefaultReset, toRem } from 'folds';
|
|
|
|
export const Image = style([
|
|
DefaultReset,
|
|
{
|
|
display: 'block',
|
|
maxWidth: '100%',
|
|
maxHeight: '100%',
|
|
borderRadius: 'inherit',
|
|
imageRendering: 'auto',
|
|
backfaceVisibility: 'hidden',
|
|
transform: 'translateZ(0)',
|
|
},
|
|
]);
|
|
|
|
export const Video = style([
|
|
DefaultReset,
|
|
{
|
|
display: 'block',
|
|
maxWidth: '100%',
|
|
maxHeight: '100%',
|
|
},
|
|
]);
|