摘要: 结构:<p>我有很多文字 我有很多文字 我有很多文字 我有很多文字 我有很多文字 我有很多文字 我有很多文字 我有很多文字我有很多文字 我有很多文字我有很多文字 我有很多文字 我有很多文字 我有很多文字 我有很多文字 我有很多文字我有很多文字 我有很多文字</p> css:p{ font-size: 阅读全文
posted @ 2017-07-13 15:13 白卫云 阅读(128) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> *{margin: 0;padding: 0;} fieldset{ border:none; border-top:1px solid #c6c6 阅读全文
posted @ 2017-07-13 14:44 白卫云 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1、页面显示层叠效果: 上图看看: 阅读全文
posted @ 2017-03-30 16:14 白卫云 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1、用border写左边竖条 html:<div></div> css: div{ position:relative; width:200px; height:60px; background:#ddd; } div{ border-left:5px solid deeppink; } 2、用伪类 阅读全文
posted @ 2017-03-30 16:13 白卫云 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 下面我来说说通过jquery自动创建元素进行事件绑定的问题: 普通绑定事件:$('.btn1').click(function(){}绑定,这个比较适用于页面中本来就有了类名为btn1元素 on绑定事件:$(document).on('click','.btn2',function(){}) 或者$ 阅读全文
posted @ 2017-03-30 11:24 白卫云 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 作为一个前端人员,有点感慨要发表。 以下均为个人见地,有错误欢迎指出 1、首先要说一下html,body,要给app页面总体添加背景图的话,一般不加给这两个元素,而是在body体内新建一个wrap,根据页面的高度设置其高度,这个元素的宽度一般为100%,对于background属性,一般可以定义ba 阅读全文
posted @ 2017-03-29 16:09 白卫云 阅读(208) 评论(0) 推荐(0) 编辑
摘要: html代码: <div class="blockcontent" contentteditable="true'></div> css代码: .blockcontent{width:500px;min-height:100px;border:1px solid #ccc;margin:100px 阅读全文
posted @ 2017-03-24 14:55 白卫云 阅读(829) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-03-24 14:31 白卫云 阅读(1) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-03-24 14:13 白卫云 阅读(3) 评论(0) 推荐(0) 编辑