CSS
wangqiuchen_Study
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
div居中
left:auto;top:10px;">原创 2014-05-09 14:52:19 · 584 阅读 · 0 评论 -
数字翻页
1. js 红字js已经上传到资源库中jquery.dataStatistics.js" type="text/javascript"> $(document).ready(function(){ var moneyList = $("#moneyList").val(); moneyList = moneyList.replace(/[,]/g,"").repla原创 2018-01-24 15:22:08 · 762 阅读 · 0 评论 -
火狐浏览器hack
主要有以下几种: @-moz-document url-prefix() { .selector { property: value; } }上面是仅仅被Firefox浏览器识别的写法,具体如: @-moz-document url-prefix() { .demo { color:lime; } }支持Firefox的还有几种写法: /* 支持所有firefox版本 */ #s原创 2017-06-07 10:54:33 · 930 阅读 · 0 评论 -
移动端样式注意问题
文字大小:@media screen and (min-width: 300px) { html { font-size: 27.77783333333333px; }}@media screen and (min-width: 315px) { html { font-size: 29.166724999999996px; }}原创 2017-03-23 10:59:52 · 786 阅读 · 0 评论 -
修改select样式
//下拉列表var sel = document.getElementsByTagName("select") ; for (i = 0, j = sel.length; i j; i++) { sel[i].addEventListener("change",function(){ this.previousSibling.textContent = $(thi原创 2016-03-29 11:40:56 · 519 阅读 · 0 评论 -
radio改版样式
.sex_male ,.sex_female{ opacity: 0; cursor: pointer; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0);}label{ display:-moz-inline-block; display:inline-原创 2016-03-29 09:54:22 · 528 阅读 · 0 评论 -
inline-block及解决空白间距
http://www.jb51.net/css/76707.html原文章地址去掉空白主要的思路就是在父节点加上font-size:0,在有文字的子节点上回复原来的字体大小。转载 2016-04-06 16:27:13 · 362 阅读 · 0 评论 -
解决火狐,谷歌,ie兼容性问题
.lc-bx1 { width: 112px!important; //火狐 width: 125px; //谷歌 width: 104px\9; //ie6以上}原创 2016-03-07 15:45:30 · 974 阅读 · 0 评论 -
修改滚动条的样式
mydiv = document.getElementById("divQueryResult"); mydiv.style.marginTop = "5px"; mydiv.style.scrollbarFaceColor = "#999999"; mydiv.style.scrollbar3dLightColor = "#EEEEEE";原创 2014-06-16 13:54:01 · 653 阅读 · 0 评论 -
控制文本框自适应宽度
white-space: nowrap;原创 2014-06-26 09:50:00 · 811 阅读 · 0 评论 -
控制文本框只输入数字
<input id="txtJSYDZHDMJ_Edit" type="text"style="ime-mode: disabled;" onkeydown="OnlyDoubleByYang(this.value,2)" onpaste="return PasteDecimal(2)" runat="server" />原创 2014-06-26 09:48:43 · 457 阅读 · 0 评论 -
dropdownlist控件显示白边问题
设置原创 2014-05-20 10:07:07 · 882 阅读 · 0 评论 -
响应式font-size计算
7.5:设计稿尺寸处以100css中的样式:(设计稿中的数值/100),单位:remdocument.ready=function(){ var html = document.documentElement; var windowWidth = html.clientWidth; html.style.fontSize = windowWidth...原创 2019-01-15 17:28:00 · 763 阅读 · 0 评论
分享