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

Add CSS code for input patterns

This commit is contained in:
Phuoc Nguyen
2021-03-31 20:55:44 +07:00
parent b5ef930f42
commit 14b0781512
11 changed files with 300 additions and 287 deletions

View File

@@ -22,13 +22,7 @@ const Details: React.FC<{}> = () => {
<div className='p-8 pb-20'>
<BrowserFrame
html={`
<button style="
/* Center the content */
align-items: center;
display: flex;
flex-direction: row;
justify-content: center;
">
<button class="button">
<!-- Icon -->
...
@@ -36,7 +30,15 @@ html={`
...
</div>
`}
css={``}
css={`
.button {
/* Center the content */
align-items: center;
display: flex;
flex-direction: row;
justify-content: center;
}
`}
>
<div
style={{