feat: add water fall pic
This commit is contained in:
@ -56,7 +56,7 @@
|
||||
border-radius: 10px;
|
||||
background-color: rgb(66, 66, 66);
|
||||
box-sizing: border-box;
|
||||
height: 400px;
|
||||
// height: 400px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transition: 0.3s;
|
||||
|
@ -1,20 +1,8 @@
|
||||
#react-waterfall-comps li > div {
|
||||
transition: all 0.5s;
|
||||
position: relative;
|
||||
border-radius: 10px;
|
||||
background-color: rgb(66, 66, 66);
|
||||
padding: 10px;
|
||||
.waterfall_outer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transition: 0.3s;
|
||||
cursor: pointer;
|
||||
}
|
||||
#react-waterfall-comps li > div:hover {
|
||||
transform: translateY(-6px);
|
||||
box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
|
||||
transition: all 0.3s;
|
||||
background-color: #666666;
|
||||
}
|
||||
#react-waterfall-comps li > div > img {
|
||||
width: 100%;
|
||||
}
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
.waterfall_column {
|
||||
width: 40%;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user