随笔分类 -  前端开发

上一页 1 ··· 3 4 5 6 7
摘要:height:容器高度固定(值是百分比时除外); min-height:容器高度小于该值时取该值,大于该值时按实际的值。应用:页面中页脚置底。 阅读全文
posted @ 2018-03-09 10:03 lvlin241 阅读(222) 评论(0) 推荐(0)
摘要:CSS 后代选择器 参考:http://www.w3school.com.cn/css/css_selector_descendant.asp div span {color:red} div 下面的所有span标签内容都是红色。 div > span {color:red} div下的一级标签sp 阅读全文
posted @ 2018-03-08 10:17 lvlin241 阅读(142) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-02-07 18:17 lvlin241 阅读(421) 评论(0) 推荐(0)
摘要:/**input清空内容**/$("#选择器id").val(""); /**去除空格**/$.trim($("#组件id")); /**获取input、select框内容**/$("#框id").val(); /**为组件绑定事件**/事件名称: http://www.w3school.com.c 阅读全文
posted @ 2018-02-06 10:41 lvlin241 阅读(86) 评论(0) 推荐(0)
摘要:<!--参考: http://www.w3school.com.cn/cssref/pr_border-radius.asp--><style> .btn{ outline:none; /**按钮区域的边框,非按钮边框**/ cursor:pointer; border: 5px solid #de 阅读全文
posted @ 2018-02-06 10:11 lvlin241 阅读(616) 评论(0) 推荐(0)
摘要:1. 目录结构(webStrom) 2. 代码 1.html 1.css 1.js cont.js sea.js 官网: http://seajs.org/docs/#downloads jquery-3.0.0.js 官网:http://www.jq22.com/jquery-info122 3. 阅读全文
posted @ 2016-11-27 19:04 lvlin241 阅读(223) 评论(0) 推荐(0)
摘要:1.css 1.js toLeft.png(图片来自"千图网") toRight.png(图片来自"千图网") jquery-3.0.0.js 官网下载地址如下: http://jquery.com/ 效果展示: 小结:用到的样式知识点 1. float 水平方向设置DIV块位置的属性。只有righ 阅读全文
posted @ 2016-11-20 16:18 lvlin241 阅读(920) 评论(0) 推荐(0)
摘要:1. 引入angular.js 相应版本下载地址: https://code.angularjs.org/ 2. 编写html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>AngularJS</title> <script 阅读全文
posted @ 2016-07-17 12:51 lvlin241 阅读(3666) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7