/** * 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 { Link } from 'react-router-dom'; import RelatedPatterns from '../../components/RelatedPatterns'; import Pattern from '../../constants/Pattern'; import DetailsLayout from '../../layouts/DetailsLayout'; import Block from '../../placeholders/Block'; import BrowserFrame from '../../placeholders/BrowserFrame'; import Circle from '../../placeholders/Circle'; import Rectangle from '../../placeholders/Rectangle'; const Details: React.FC<{}> = () => { return (
You can add a ribbon to indicate the most popular option.
... ... ... ...
...
`} css={` .container { /* Content is centered horizontally */ align-items: center; display: flex; justify-content: center; } .container__column { /* Content is centered vertically */ align-items: center; display: flex; flex-direction: column; justify-content: center; /* Make all columns have the same width */ flex: 1; /* OPTIONAL: Space between columns */ margin: 0 8px; /* OPTIONAL: Border */ border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 4px; } `} >
); }; export default Details;