随笔分类 -  css

摘要:.txt{ text-align:justify; height: 30rpx; } .txt::after{ content: ''; width: 100%; display:inline-block; } 阅读全文
posted @ 2026-01-06 15:31 醉肆意 阅读(3) 评论(0) 推荐(0)
摘要:image-rendering: -moz-crisp-edges; /* Firefox */ image-rendering: -o-crisp-edges; /* Opera */ image-rendering: -webkit-optimize-contrast; /* Webkit (n 阅读全文
posted @ 2022-01-17 17:21 醉肆意 阅读(442) 评论(0) 推荐(0)
摘要:::-webkit-scrollbar{display: none;}/* Chrome Safari */ scrollbar-width: none;/* Firefox */ -ms-overflow-style: none; /* IE 10+ */ 设置隐藏滚动条,元素中最好加上 over 阅读全文
posted @ 2022-01-13 15:06 醉肆意 阅读(59) 评论(0) 推荐(0)
摘要:css overflow:hidden; text-overflow:ellipsis;/*文字溢出的部分隐藏并用省略号代替*/ white-space:nowrap;/*文本不自动换行*/ p { overflow : hidden; text-overflow: ellipsis; displa 阅读全文
posted @ 2021-09-28 09:32 醉肆意 阅读(50) 评论(0) 推荐(0)