无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的23个中间版本) | |||
第1行: | 第1行: | ||
#awajiea{ |
|||
.latest-item { |
|||
animation: awajiebox 10s linear infinite; |
|||
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; |
|||
} |
} |
||
@keyframes awajiebox { |
|||
#one{ |
|||
to{ |
|||
margin-left: 170px; |
|||
transform: rotate(360deg); |
|||
} |
|||
.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%; |
|||
} |
|||
.latest-btn { |
|||
position: absolute; |
|||
display: block; |
|||
width: 2em; |
|||
height: 2em; |
|||
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: 99px; |
|||
transition: all .2s; |
|||
line-height: 2em; |
|||
font-size: 1.2em; |
|||
background-color: #fff; |
|||
text-align: center; |
|||
z-index: 1; |
|||
} |
|||
#latest-last-btn{ |
|||
position:absolute; |
|||
top:45%; |
|||
left: 0; |
|||
} |
|||
#latest-next-btn{ |
|||
position:absolute; |
|||
top:45%; |
|||
right: 0; |
|||
} |
|||
div,span{ |
|||
margin: 0; |
|||
padding: 0; |
|||
} |
|||
.container{ |
|||
/* width: 270px;*/ |
|||
width: 90%; |
|||
height: 300px; |
|||
margin: 10px auto; |
|||
border: 2px outset rgb(197, 24, 24); |
|||
position: relative; |
|||
overflow: hidden; |
|||
} |
|||
.carousel{ |
|||
/* width: 270px;*/ |
|||
width: 90%; |
|||
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; |
|||
} |
} |