10 2021 档案

摘要:display: inline-block; width: 0px;图片大小 height: 0px; border: none; background: url(); 图片位置 background-position: 0 0px; 找精灵图的位置 outline: none; color: #f 阅读全文
posted @ 2021-10-28 22:48 彩色海豹 阅读(160) 评论(0) 推荐(0)
摘要:text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; overflow: hidden; 写这些之前要设置高和宽,这些可以在网上找到** 阅读全文
posted @ 2021-10-27 21:47 彩色海豹 阅读(18) 评论(0) 推荐(0)
摘要:div值 :nth-child(行内多少个就是多少n){ margin-right: 0;} 左改0 div值 :nth-child(行内多少个就是多少n+1){ margin-left: 0;}右改0 margin: 15px; 然后在改这个 阅读全文
posted @ 2021-10-26 18:24 彩色海豹 阅读(16) 评论(0) 推荐(0)
摘要:div的class值 ul li:hover{ background-position: center **px;} **填正数会越往下跑填负数会越往上跑 text-align: center; 文本居中 margin: 0 auto; 元素居中 阅读全文
posted @ 2021-10-25 12:00 彩色海豹 阅读(20) 评论(0) 推荐(0)
摘要:如果您希望把包含(tetle)标题的所有颜色换色 tetle{coloer:颜色(英文);} 阅读全文
posted @ 2021-10-22 16:58 彩色海豹 阅读(19) 评论(0) 推荐(0)