/** * 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 RelatedPatterns from '../../components/RelatedPatterns'; 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 (
25%
...
`} css={` .row { display: flex; margin-left: -8px; margin-right: -8px; } .row__cell { padding-left: 8px; padding-right: 8px; } /* Cell with given width. Replace 25% with whatever you want */ .row__cell--1/4 { flex: 0 0 25%; } .row__cell--fill { flex: 1; } `} >
); }; export default Details;