![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
smile_girl_ha
自律
展开
-
css自定义滚动条样式
/* 自定义滚动条样式开始 */#student_unit_div::-webkit-scrollbar { width:8px; height:8px;}#student_unit_div::-webkit-scrollbar-track { background:#E3E3E5;}#student_unit_div::-webkit-s原创 2017-02-03 17:48:52 · 842 阅读 · 0 评论 -
Css图标样式库
http://www.yeahzan.com/fa/facss.html原创 2017-05-19 11:59:24 · 6555 阅读 · 0 评论 -
页面内锚点定位及跳转方法总结
接着上一篇,其实是一个功能,本来感觉挺简单的一个问题,没想到遇到两个坎儿,无语。。。 上一篇是关于scroll事件绑定的问题,这一篇的问题是:点击锚点跳转到相应DIV的问题。 最简单的方法是锚点用标签,在href属性中写入DIV的id。如下: div { height: 800px; width: 400px;转载 2017-08-02 11:31:27 · 873 阅读 · 0 评论 -
开关按钮样式(类似app端)
css.double_btn{ width:100%; margin:0 auto; text-align:center; font-family: 微软雅黑; font-size:14px;}.double_btn_0{ padding:8px 25px 8px 0; border-radius:20px;原创 2017-08-02 12:10:36 · 3160 阅读 · 0 评论 -
css使table支持overflow:hidden;
table{ table-layout:fixed; width:543px;}td{overflow:hidden;text-overflow: ellipsis;white-space:nowrap; }转自于:http://blog.sina.com.cn/s/blog_addbd3fc01015h9e.html转载 2017-09-25 15:23:10 · 2466 阅读 · 0 评论 -
css中的伪类和伪元素
w3c学习地址:http://www.w3school.com.cn/css/css_pseudo_classes.asphttp://www.w3school.com.cn/css/css_pseudo_elements.asp原创 2017-02-06 16:30:02 · 489 阅读 · 0 评论 -
css样式布局的椭圆
方形框圆角形框椭圆边形框半圆形框圆形框单圆角形框小括号形框双小括号形框中括号形框 div { width:150px; /* you can add backround style by yourself */ height: 150px; margin: 10px; float: left; text-al原创 2017-02-07 10:55:48 · 4974 阅读 · 0 评论 -
弹窗窗口在浏览器上面居中
@CHARSET "UTF-8";#auto_zancundaan_pop{ position: fixed; _position:absolute; top: 50%; left: 50%; z-index:9999; width:340px; height:350px; margin: -176px 0 0 -171px;原创 2017-02-03 16:26:16 · 890 阅读 · 0 评论