Add components
This commit is contained in:
23
src/components/card/card.styles.css
Normal file
23
src/components/card/card.styles.css
Normal file
@@ -0,0 +1,23 @@
|
||||
.card-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #95dada;
|
||||
border: 1px solid grey;
|
||||
border-radius: 5px;
|
||||
padding: 25px;
|
||||
cursor: pointer;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
backface-visibility: hidden;
|
||||
transform: translateZ(0);
|
||||
transition: transform 0.25s ease-out;
|
||||
}
|
||||
|
||||
.card-container:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.card-container img {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 200px;
|
||||
}
|
||||
Reference in New Issue
Block a user