1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-09-09 05:41:08 +02:00

Add CSS panel for display patterns

This commit is contained in:
Phuoc Nguyen
2021-03-31 21:33:21 +07:00
parent 04384dbee2
commit 57b8bff9bb
42 changed files with 1008 additions and 894 deletions

View File

@@ -20,7 +20,12 @@ const Details: React.FC<{}> = () => {
<div className='p-8 pb-20'>
<BrowserFrame
html={`
<div style="
<div class="container">
...
</div>
`}
css={`
.container {
/* Lined background */
background-image: linear-gradient(rgba(0, 0, 0, 0.3) 1px, transparent 0px);
background-size: 100% 2em;
@@ -31,11 +36,8 @@ html={`
*/
background-position-y: 24px;
line-height: 2em;
">
...
</div>
}
`}
css={``}
>
<div
style={{