Add Card components
This commit is contained in:
5
src/components/Card/Card.tsx
Normal file
5
src/components/Card/Card.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import style from "./style.module.css";
|
||||
|
||||
export default function Card({ active, children }) {
|
||||
return <div className={style.card}>{children}</div>;
|
||||
}
|
||||
14
src/components/Card/style.module.css
Normal file
14
src/components/Card/style.module.css
Normal file
@@ -0,0 +1,14 @@
|
||||
.card {
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
background-color: #c0c0c0;
|
||||
border-top: 2px solid white;
|
||||
border-left: 2px solid white;
|
||||
border-bottom: 2px solid #828282;
|
||||
border-right: 2px solid #828282;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.cardContent {
|
||||
padding: 1px 100px 30px 100px;
|
||||
}
|
||||
Reference in New Issue
Block a user