无编辑摘要 |
无编辑摘要 |
||
第78行: | 第78行: | ||
} |
} |
||
.container{ |
.container{ |
||
width: |
width: 290px; |
||
height: 300px; |
height: 300px; |
||
margin: 10px auto; |
margin: 10px auto; |
||
第86行: | 第86行: | ||
} |
} |
||
.carousel{ |
.carousel{ |
||
width: |
width: 290px; |
||
height: 300px; |
height: 300px; |
||
float: left; |
float: left; |
2023年10月2日 (一) 15:02的版本
.latest-item {
flex-wrap: wrap;
display: flex;
position: relative;
justify-content: left;
margin: 0 175px;
width: 10rem;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.0575);
border: 1px solid rgba(0,0,0,.12);
border-radius: 4px;
transition: border-color .2s;
}
#one{
margin-left: 170px;
}
.latest-item:nth-child(1) {
margin-left: 5%;
}
.latest-item:hover{
border-color: #4096ff;
transition: border-color .2s;
}
.latest-item-now {
border-color: #58a3ff;
transition: all .2s;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08), 0 5px 8px rgba(0, 0, 0, 0.0975);
}
.latest-item-info {
padding-left: .6em;
padding-right: .6em;
white-space: nowrap;
width: 8em;
}
.latest-item-info p {
overflow: hidden;
text-overflow: ellipsis;
}
.latest-item-more {
width: 4em;
height: 4em;
border-radius: 999px;
text-align: center;
}
.latest-item-more-text {
width: 4em;
height: 4em;
line-height: 4em;
}
.latest-item-more:hover a {
text-decoration: none;
}
.latest-item-click {
position: absolute;
user-select: none;
}
.latest-item-click a img {
width: 10em;
height: 13em;
opacity: 0;
user-select: none;
}
.latest-item img{
width: 100%;
}
div,span{
margin: 0;
padding: 0;
}
.container{
width: 290px;
height: 300px;
margin: 10px auto;
border: 2px outset rgb(197, 24, 24);
position: relative;
overflow: hidden;
}
.carousel{
width: 290px;
height: 300px;
float: left;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
align-items: center;
/* transition: 0.5s; */
}
.carousel-one{
display: flex;
border: 2px outset rgb(197, 24, 24);
}
.indicator{
position: absolute;
bottom: 10px;
display: flex;
left: 50%;
/* border: 1px outset #ccc; */
transform: translateX(-50%);
}
.indicator span{
width: 10px;
height: 10px;
border: 1px outset #ccc;
border-radius: 50%;
margin: 0 3px;
}
.indicator span.active{
background-color: #000;
border-color: #000;
}