会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DengPan
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2016年12月8日
js 逻辑或
摘要: 逻辑或操作符由两个竖线来表示||,属于短路操作符,也就是说,如果第一个操作数的求职结果为true,就不会对第二个操作数进行求值 var found = true; var result = found || something; alter(result);//true 在上面的列子中somethi
阅读全文
posted @ 2016-12-08 11:54 DengPan
阅读(280)
评论(0)
推荐(0)
2016年11月30日
checkBox 开关按钮
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> *{margin:0px;padding:0px;} .box{ width:980px; height:100px;
阅读全文
posted @ 2016-11-30 16:52 DengPan
阅读(1501)
评论(0)
推荐(0)
css箭头
摘要: .aui-list-item-arrow:before { content: ''; width: 0.4rem; height: 0.4rem; position: absolute; top: 50%; right: 0.75rem; margin-top: -0.2rem; backgroun
阅读全文
posted @ 2016-11-30 13:18 DengPan
阅读(154)
评论(0)
推荐(0)
2016年11月25日
在HTML中使用JavaScript元素
摘要: 下面是包含script结束时的错误代码
阅读全文
posted @ 2016-11-25 10:15 DengPan
阅读(619)
评论(0)
推荐(0)
2016年11月15日
正则表达式
摘要: 匹配中文:[\u4e00-\u9fa5] 匹配英文:[a-zA-Z] 匹配数字:[0-9] 匹配中文,英文字母和数字及_: ^[\u4e00-\u9fa5_a-zA-Z0-9]+$
阅读全文
posted @ 2016-11-15 15:41 DengPan
阅读(148)
评论(0)
推荐(0)
2016年11月4日
计算机常见快捷键操作
摘要: 新建文件夹 ctrl + shift + n
阅读全文
posted @ 2016-11-04 10:25 DengPan
阅读(145)
评论(0)
推荐(0)
2016年11月3日
变换菜单
摘要: 实现方法:下面的元素开始不显示,当划过时显示并且整体向上移,则就有变换的菜单效果
阅读全文
posted @ 2016-11-03 14:45 DengPan
阅读(184)
评论(0)
推荐(0)
尖角效果
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>尖角</title> <style type="text/css"> .box{ width: 0; display: block; border-bottom:
阅读全文
posted @ 2016-11-03 14:43 DengPan
阅读(161)
评论(0)
推荐(0)
js实现下拉菜单
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> *{ margin: 0px; padding: 0px; } ul{ list-
阅读全文
posted @ 2016-11-03 14:41 DengPan
阅读(340)
评论(0)
推荐(0)
修改radio与check样式
摘要: 一般的radio与check的样式很难看,这个时候就需要我们自己修改其样式 逻辑思维: 1.用label包裹input标签以及样式标签,然后将radio定位到界面以外,设置样式标签的样式 2.使用伪类来为点击时添加样式
阅读全文
posted @ 2016-11-03 14:34 DengPan
阅读(438)
评论(0)
推荐(0)
1
2
下一页
公告