1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 02:36:11 +02:00
Files
csslayout/patterns/fixed-at-side/Cover.tsx
Phuoc Nguyen 829d57c1bf Cleanup
2021-09-27 23:33:13 +07:00

32 lines
808 B
TypeScript

import * as React from 'react';
import Frame from '../../placeholders/Frame';
const Cover: React.FC<{}> = () => {
return (
<Frame>
<div
style={{
height: '100%',
position: 'relative',
width: '100%',
}}
>
<div
style={{
backgroundColor: 'rgba(0, 0, 0, 0.3)',
height: '40%',
position: 'absolute',
right: 0,
top: '50%',
transform: 'translate(0, -50%)',
width: '16px',
}}
/>
</div>
</Frame>
);
};
export default Cover;