摘要: 排版.text-muted 浅色.text-primary 主要.text-success 成功.text-info 信息.text-warning 警告.text-danger 危险.text-left 左边.text-center 居中.text-right 右边.text-justify 超出... 阅读全文
posted @ 2015-03-17 21:12 seakwan 阅读(121) 评论(0) 推荐(0)
摘要: 1.header 里面的 meta标签name="viewport" 定义布局width=device-wdith 设置的宽度initial-scale=1.0 确保加载时候比例为1:1user-scalable=no 禁用缩放功能maximum-scale=1.0 确保禁用缩放功能后,用户能够滚动... 阅读全文
posted @ 2015-03-16 21:49 seakwan 阅读(132) 评论(0) 推荐(0)
摘要: 一篇很棒的文章。http://blog.jobbole.cousing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Security.Cryptography;nam... 阅读全文
posted @ 2014-12-25 11:19 seakwan 阅读(233) 评论(0) 推荐(0)
摘要: 地址:http://deerchao.net/tools/regex_tester/index.htm自己备份一个旧版本 阅读全文
posted @ 2014-12-08 14:58 seakwan 阅读(86) 评论(0) 推荐(0)
摘要: 1 function getDomain() { 2 var hostname = window.location.hostname; 3 var ip = hostname.match(/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/g); 4 i... 阅读全文
posted @ 2014-12-08 14:51 seakwan 阅读(1017) 评论(0) 推荐(0)
摘要: 案例:jQuery是从cdn里面加载的,但万一cdn里面的js文件不可用时,为了避免网站不能用,我们可以通过切换到本地服务器的文件1 function checkJsFile() {2 if (typeof jQuery == 'undefined') {3 var head... 阅读全文
posted @ 2014-12-08 14:29 seakwan 阅读(231) 评论(0) 推荐(0)