1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-08 07:07:15 +02:00
Files
2021-04-03 19:02:19 +07:00

131 lines
4.9 KiB
TypeScript

/**
* A collection of popular layouts and patterns made with CSS (https://csslayout.io)
* (c) 2019 - 2021 Nguyen Huu Phuoc <https://twitter.com/nghuuphuoc>
*/
import * as React from 'react';
import Frame from '../../placeholders/Frame';
import Square from '../../placeholders/Square';
const Cover: React.FC<{}> = () => {
return (
<Frame>
<div
style={{
alignItems: 'center',
display: 'flex',
height: '100%',
justifyContent: 'center',
padding: '0.5rem',
}}
>
<div>
<div
style={{
padding: '0rem 0rem 0rem 1rem',
position: 'relative',
}}
>
<div
style={{
borderLeft: '1px solid rgba(0, 0, 0, 0.3)',
height: '100%',
left: 0,
position: 'absolute',
top: 0,
}}
/>
<div
style={{
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
left: 0,
position: 'absolute',
top: '0.5rem',
width: '1rem',
}}
/>
<div
style={{
backgroundColor: 'rgba(0, 0, 0, 0.3)',
borderRadius: '0.25rem',
height: '1rem',
width: '1rem',
}}
/>
<div
style={{
marginLeft: '0.5rem',
padding: '0rem 0rem 0rem 1rem',
position: 'relative',
}}
>
<div
style={{
borderLeft: '1px solid rgba(0, 0, 0, 0.3)',
height: '50%',
left: 0,
position: 'absolute',
top: 0,
}}
/>
<div
style={{
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
left: 0,
position: 'absolute',
top: '0.5rem',
width: '1rem',
}}
/>
<div
style={{
backgroundColor: 'rgba(0, 0, 0, 0.3)',
borderRadius: '0.25rem',
height: '1rem',
width: '1rem',
}}
/>
</div>
</div>
<div
style={{
padding: '0rem 0rem 0rem 1rem',
position: 'relative',
}}
>
<div
style={{
borderLeft: '1px solid rgba(0, 0, 0, 0.3)',
height: '50%',
left: 0,
position: 'absolute',
top: 0,
}}
/>
<div
style={{
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
left: 0,
position: 'absolute',
top: '0.5rem',
width: '1rem',
}}
/>
<div
style={{
backgroundColor: 'rgba(0, 0, 0, 0.3)',
borderRadius: '0.25rem',
height: '1rem',
width: '1rem',
}}
/>
</div>
</div>
</div>
</Frame>
);
};
export default Cover;