/** * A collection of popular layouts and patterns made with CSS (https://csslayout.io) * (c) 2019 - 2021 Nguyen Huu Phuoc */ import * as React from 'react'; import { Helmet } from 'react-helmet'; import Pattern from '../../constants/Pattern'; import DetailsLayout from '../../layouts/DetailsLayout'; import BrowserFrame from '../../placeholders/BrowserFrame'; import Rectangle from '../../placeholders/Rectangle'; const Details: React.FC<{}> = () => { return (
...
`} css={` .container { /* Content is centered horizontally */ align-items: center; display: flex; /* Used to set the position of text */ position: relative; } .container__content { /* We won't see the separator line */ background: #FFF; /* Displayed at the center of container */ left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); } .container__separator { border-bottom: 1px solid rgba(0, 0, 0, 0.3); height: 1px; width: 100%; } `} >
); }; export default Details;