
html
jis117
这个作者很懒,什么都没留下…
展开
-
Base64
[code="html"]Test[/code]原创 2013-11-09 13:41:20 · 116 阅读 · 0 评论 -
Consolas和微软雅黑混合字体
[code="java"]建议大家使用Consolas和微软雅黑混合字体。consolas是公认的很好用的编程字体。微软雅黑大家都耳熟能详了。转载地址:http://www.iamle.com/archives/461.html注意:文章中没有对YaHei.Consolas.1.12的存放地址进行描述,YaHei.Consolas.1.12.ttf文件应放在C:\WIN...原创 2016-10-26 10:51:00 · 5746 阅读 · 1 评论 -
好专业的前端
[code="java"]http://www.ruanyifeng.com/blog/2015/09/web-page-performance-in-depth.html[/code]原创 2015-09-18 11:09:00 · 141 阅读 · 0 评论 -
行长显示省略号
[code="java"] Document .comment_inner{ width: 200px; word-break: break-all; text-overflow: ellipsis; display: -webkit-box; /** 将对象作为伸缩盒子模型显示 **/ -web...原创 2016-07-25 16:23:37 · 173 阅读 · 0 评论 -
jquery hover ajax
[code="java"]jQuery hover特效 $(document).ready(function() {$("#orderedlist tbody tr").hover(function() { $(this).addClass("blue"); }, function() { $(this).removeClass("blue");...原创 2014-09-28 16:56:11 · 277 阅读 · 0 评论 -
JQuery选择器
[code="java"]http://sharecxc163.blog.163.com/blog/static/13252211920104263293912/[/code]原创 2016-05-08 22:41:42 · 80 阅读 · 0 评论 -
listBox选择
[code="html"]Document select{width: 150px;height: 180px;} 1 2 3 4 5 6 ...原创 2014-09-24 19:47:04 · 112 阅读 · 0 评论 -
DIV+CSS网页布局技巧实例15:用正确的顺序指定链接的样式
[code="java"]当你用CSS来定义链接的多个状态样式时,要注意它们书写的顺序,正确的顺序是::link :visited :hover :active。抽取第一个字母是"LVHA",你可以记忆成"LoVe HAte"(喜欢讨厌)。为什么这么定义,可以参考Eric Meyer的《Link Specificity》。如果你的用户需要用键盘来控制,需要知道当前链接的焦点,你还可以定...原创 2014-09-11 12:23:05 · 120 阅读 · 0 评论 -
html5 base64
[code="html"]html5 img to base64 example$('#file').bind('change',function(){ saveImg(this);});function saveImg(obj) { var files = obj.files; for(var i = 0, len = file...原创 2013-11-03 13:24:22 · 269 阅读 · 0 评论 -
使用woff字体
[code="css"] [/code]原创 2013-10-27 14:19:11 · 704 阅读 · 0 评论 -
下拉列表渐变
[code="css"].navbar .nav ul { border-radius: 4px; left: 0; list-style-type: none; margin-left: 0; opacity: 0; position: absolute; top: 0; width: 234px; -webkit-transform: ...原创 2013-10-27 11:32:53 · 176 阅读 · 0 评论 -
CSS3
[code="css"].navbar .nav ul { border-radius: 4px; left: 0; list-style-type: none; margin-left: 0; opacity: 0; position: absolute; top: 0; width: 234px; -webkit-transform: ...原创 2013-10-23 22:19:12 · 98 阅读 · 0 评论 -
图像链接
[code="java"]// http://www.w3school.com.cn/html/html_images.asp[/code][code="html"]请点击图像上的星球,把它们放大。注释:img 元素中的 "usemap" 属性引用 map 元素中的 "id" 或 "name" 属性(根据浏览器),...原创 2014-08-25 17:37:24 · 109 阅读 · 0 评论 -
CDN
[code="java"]/**http://libs.useso.com/**/[/code]原创 2014-08-21 01:39:19 · 102 阅读 · 0 评论 -
DIV最小高度
[code="css"]/**http://www.syscy.com/articleview/2009-6-2/article_view_768.htmhttp://www.phpshuo.com/show/13_40.html**/.div{height:auto!important;height:100px;min-height:100px;}[/co...原创 2014-08-20 18:35:43 · 160 阅读 · 0 评论 -
escape html
[code="java"]public static String encodeHTML(String str) { if ((str == null) || (str.length() == 0)) { return ""; } str = str.replaceAll("&", "&"); str = str.r...原创 2014-03-07 21:03:32 · 145 阅读 · 0 评论 -
鼠标经过变成手形
鼠标经过变成手形[code="html"]移动到我就变手型[/code]原创 2013-11-10 12:41:17 · 358 阅读 · 0 评论 -
!important
[code="css"]*:focus{outline:none!important;}[/code]原创 2013-11-09 18:05:11 · 85 阅读 · 0 评论 -
html
[code="java"] (function() { var href = window.location.toString(); var queryArgs = window.location.search; // the ?foo=1 part var hashArgs = "#" + (window.location.href.split...原创 2015-12-19 17:09:42 · 117 阅读 · 0 评论