css要实现从上到下颜色渐变的遮罩,从深色逐渐变为浅色。 background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0) 100%);
... 4年前 (2022-10-08) 喜欢
css 最后一个元素样式控制 last-child
.commentsItem:last-child {
border-bottom: 0;
} ... 4年前 (2022-06-11) 喜欢
-webkit-user-select: none; ... 4年前 (2022-06-09) 喜欢
css 实现禁止图片拖动
img {
-webkit-user-drag: none;
} ... 4年前 (2022-06-09) 喜欢
html
<div class="zhezhaox">
<div class="zhezhaox2"></div>
</div> css
.zhezhaox {... 4年前 (2022-05-14) 喜欢
//横向horizontal .horizontalScroll::-webkit-scrollbar {
width: 100%;
height: 10px;
} /*滚动条滑块*/
.horizontalScroll::-webkit-scrollbar-thu... 4年前 (2022-04-23) 喜欢
主要使用到transition
-webkit-transition: .2s;
transition: .2s; .homeListItem {
width: 282px;
height: 281px;
background: #FFFFFF;
box... 4年前 (2022-03-20) 喜欢
鼠标不可点击时的显示状态
cursor: not-allowed 禁止触发点击事件
pointer-events:none ... 4年前 (2022-03-02) 喜欢
text-decoration:line-through ... 4年前 (2022-01-26) 喜欢
.expand {
transform: rotate(90deg);
-ms-transform: rotate(90deg);
/* Internet Explorer 9*/
-moz-transform: rotate(90deg);
/* Firef... 5年前 (2022-01-16) 喜欢