06 2016 档案

摘要:content一般和:before,:after一起使用,用来生成内容(img和input没有该属性),content的内容一般可以为以下四种: none 其实我们常用的clearfix就是应用了这个none了 Css Code attr: 插入标签属性值 普通文字demo 青,取之于蓝,而青于蓝; 阅读全文
posted @ 2016-06-21 13:38 keep up 阅读(1536) 评论(0) 推荐(1)
摘要:纯CSS3制作的社交媒体网站logo图标 CSS3 Experiment by insicdesigns Fun with CSS3- Social media icons created in pure CSS. NetVibes + ... 阅读全文
posted @ 2016-06-21 13:30 keep up 阅读(641) 评论(0) 推荐(0)
摘要:先来看看jQuery.ajax(options)的简单介绍: 通过 HTTP 请求加载远程数据。 jQuery 底层 AJAX 实现。简单易用的高层实现见 $.get, $.post 等。 $.ajax() 返回其创建的 XMLHttpRequest 对象。大多数情况下你无需直接操作该对象,但特殊情 阅读全文
posted @ 2016-06-12 13:47 keep up 阅读(4850) 评论(0) 推荐(0)
摘要:<script type="text/javascript"> //ImgD:要放图片的img元素,onload时传参可用this //h:img元素的高度,像素 //w:img元素的宽度,像素 function autosize2(ImgD,h,w) { var image=new Image() 阅读全文
posted @ 2016-06-12 13:40 keep up 阅读(3248) 评论(0) 推荐(0)
摘要:.selector{ font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu } css如何设置各种中文字体如雅黑、黑体、宋体、楷体等等 说明: 加上中文名“微软雅黑”是为了兼容opera。 Micros 阅读全文
posted @ 2016-06-03 17:11 keep up 阅读(61568) 评论(0) 推荐(0)
摘要:textarea{ border:0; background-color:transparent; /*scrollbar-arrow-color:yellow; scrollbar-base-color:lightsalmon; overflow: hidden;*/ color: #666464; heigh... 阅读全文
posted @ 2016-06-03 15:38 keep up 阅读(3055) 评论(0) 推荐(0)
摘要:1、hasClass 2、addClass 3、removeClass //call the functions addClass(document.getElementById("test"), "test"); removeClass(document.getElementById("test" 阅读全文
posted @ 2016-06-02 17:07 keep up 阅读(2325) 评论(0) 推荐(0)