Create homepage
Photo-card layout, button, typography
This commit is contained in:
15
src/style/molecules/_photo-card.scss
Normal file
15
src/style/molecules/_photo-card.scss
Normal file
@@ -0,0 +1,15 @@
|
||||
.photo-card {
|
||||
picture {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 16px 12px rgba(#000, 0.15), 0 26px 52px rgba(#000, 0.2);
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user