2018年1月2日
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2018-01-02 10:00 糖I果 阅读(439) 评论(0) 推荐(0) 编辑
  2017年8月9日
摘要: $.ajax({ url: "/test.php",//后台提供的接口 type: "post", //请求方式是post data:{"type":"1", //这是你要传给后台的data值 "t":"c4552111" }, dataType: "json", //数据类型是json型 succ 阅读全文
posted @ 2017-08-09 09:52 糖I果 阅读(7073) 评论(0) 推荐(0) 编辑
  2017年7月27日
摘要: 设置文字不换行,超过的部分用“...”代替 overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 210px; overflow: hidden; text-overflow: ellipsis; white-s 阅读全文
posted @ 2017-07-27 11:41 糖I果 阅读(28692) 评论(0) 推荐(2) 编辑
摘要: 1、letter-spacing :增加或减少字符间的空白(字符间距),如:h1 {letter-spacing:2px} 2、box-shadow : box-shadow: 10px 10px 5px #888888; 水平偏移量 竖直偏移量 阴影模糊距离 阴影颜色 阅读全文
posted @ 2017-07-27 11:30 糖I果 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1. "\9" IE6/IE7/IE8/IE9/IE10都生效 "\0" IE8/IE9/IE10都生效,是IE8/9/10的hack "\9\0" 只对IE9/IE10生效,是IE9/10的hack 2. 阅读全文
posted @ 2017-07-27 10:29 糖I果 阅读(128) 评论(0) 推荐(0) 编辑
  2017年7月26日
摘要: 【1】_blank : 浏览器总在一个新打开、未命名的窗口中载入目标文档。 【2】title : 鼠标悬浮显示的文字。 【3】href : 跳转到哪个链接。 【1】_blank : 浏览器总在一个新打开、未命名的窗口中载入目标文档。 【2】title : 鼠标悬浮显示的文字。 【3】href : 跳 阅读全文
posted @ 2017-07-26 17:34 糖I果 阅读(528) 评论(0) 推荐(1) 编辑
  2017年7月11日
摘要: font-style -- 字体风格 font-variant -- 小型大写字母文本 font-weight -- 文本的粗细 font-size/line-height -- 大小/行高 font-family -- 字体 常用格式: font:12px/30px "\5FAE\8F6F\96C 阅读全文
posted @ 2017-07-11 15:17 糖I果 阅读(429) 评论(0) 推荐(0) 编辑
  2017年7月10日
摘要: <link rel="shortcut icon" href="logo图片的路径"> shortcut 捷径,近路 icon 图标 阅读全文
posted @ 2017-07-10 11:06 糖I果 阅读(156) 评论(0) 推荐(0) 编辑
  2017年5月27日
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2017-05-27 15:42 糖I果 阅读(210) 评论(0) 推荐(0) 编辑
  2017年5月24日
摘要: 1.问题:火狐中radio (单选框)点击以后,重新刷新页面,不会选择默认的radio 解决:form表单中添加:autocomplete="off" autocomplete 属性规定表单是否应该启用自动完成功能。 阅读全文
posted @ 2017-05-24 14:16 糖I果 阅读(553) 评论(0) 推荐(0) 编辑