代码改变世界

css 滑动按钮样式

2016-08-02 10:48 by 路途遥远,Go~, 983 阅读, 0 推荐, 收藏, 编辑
摘要:<div class="pub_switch_box"> <input type="checkbox" id="pub_switch_a1" class="pub_switch" /> <label for="pub_switch_a1"></label> <input type="checkbox 阅读全文

js 多选题选项内容显示在标题下

2016-08-02 10:35 by 路途遥远,Go~, 603 阅读, 0 推荐, 收藏, 编辑
摘要:<body><div class="page-container"> <div class="view-container"> <header class="navbar"> <div class="navbar-back" onclick="window.history.go(-1)">返回</d 阅读全文

关于伪类元素:before和:after

2016-08-02 10:16 by 路途遥远,Go~, 13500 阅读, 0 推荐, 收藏, 编辑
摘要:关于伪类元素:before和:after CSS中存在一些比较特殊的属性,称之为伪类,它们之中最常用的就是定义链接的伪 :link:未被访问状态 :visited:已被访问状态 :hover:鼠标悬停状态 :active:活动状态 除了它们,还有一些不被常使用的伪类,有:focus,:first-c 阅读全文

客户端 适应不同大小屏幕

2015-09-10 15:29 by 路途遥远,Go~, 313 阅读, 0 推荐, 收藏, 编辑
摘要:@media only screen and (min-width:320px){ html, body , .content{font-size:15px!important}.viewport{max-width:320px} } @media... 阅读全文

ios app下载跳到itunes

2015-09-10 15:25 by 路途遥远,Go~, 400 阅读, 0 推荐, 收藏, 编辑
摘要:android类似 阅读全文

客户端 ios与android 的判断

2015-09-10 15:22 by 路途遥远,Go~, 400 阅读, 0 推荐, 收藏, 编辑
摘要:// 阅读全文

html中表格table的内容居中显示

2015-09-10 15:17 by 路途遥远,Go~, 2422 阅读, 0 推荐, 收藏, 编辑
摘要:align——表示左右居中——left,center,rightvalign——控制上下居中——left,center,right 标签内加入: vertical-align:middle; 阅读全文
上一页 1 ··· 3 4 5 6 7