上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar { width: 10px; height: 16px; background-color: #bdcda9; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { -webk... 阅读全文
posted @ 2017-10-25 15:27 Tane 阅读(183) 评论(0) 推荐(0) 编辑
摘要: input::-webkit-input-placeholder { color: #fff !important; } input:-moz-placeholder { color: #fff !important; } input::-moz-placeholder { color: #fff 阅读全文
posted @ 2017-10-25 11:30 Tane 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 平时比较常用的时间、字符串、时间戳之间的互相转换,虽然常用但是几乎每次使用时候都喜欢去搜索一下用法;本文将作为一个笔记,整理一下三者之间的 转换(即:date转字符串、date转时间戳、字符串转date、字符串转时间戳、时间戳转date,时间戳转字符串)用法,方便日后查看; 涉及的函数 date_f 阅读全文
posted @ 2017-10-20 15:45 Tane 阅读(373) 评论(0) 推荐(0) 编辑
摘要: <style>.text1 { width:200px; overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; -webkit-text-overflow:ellipsis; -moz-text-overflow:el 阅读全文
posted @ 2017-10-19 09:43 Tane 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 线性渐变linear-gradient() 遇到了这样的css样式 其中 阅读全文
posted @ 2017-10-18 09:22 Tane 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 转 截取字符串专题:php截取字符串函数,php 字符串长度,php截取字符串前几位 PHP截取中文字符串(mb_substr)和获取中文 => http://www.q3060.com/list3/list117/22126.html php 截取字符串第一个字符和最后一个字符 => http:/ 阅读全文
posted @ 2017-09-14 13:21 Tane 阅读(1054) 评论(0) 推荐(0) 编辑
摘要: 将获取到的数据显示部分字符串 阅读全文
posted @ 2017-09-05 14:48 Tane 阅读(157) 评论(0) 推荐(0) 编辑
摘要: /** * 时间差计算 * * @param Timestamp $time * @return String Time Elapsed */function time2Units ($time,$sign){ $year = floor($time / 60 / 60 / 24 / 365); $ 阅读全文
posted @ 2017-09-01 14:56 Tane 阅读(638) 评论(0) 推荐(0) 编辑
摘要: //获取当前月份的前一月 function GetMonth($sign) { //得到系统的年月 $tmp_date=date("Ym"); //切割出年份 $tmp_year=substr($tmp_date,0,4); //切割出月份 $tmp_mon =substr($tmp_date,4,2); /... 阅读全文
posted @ 2017-08-30 16:52 Tane 阅读(4318) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/damonlan/archive/2011/08/03/2126046.html 昨天,我们公司的网络小组决定为公司做一个内部的网站,主要是为员工比如发布公告啊、填写相应信息、投诉、问题等等需求。我那同事给了我以下需求: 1.点击一个按钮 就增加一 阅读全文
posted @ 2017-08-29 15:31 Tane 阅读(1547) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页