上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 97 下一页
摘要: CSS3 clip裁剪动画 下面是比较简单的例子<pre> <style type="text/css">img {position:absolute;clip:rect(0px 120px 151px 0px);animation: clipMe 5s linear infinite;} @-we 阅读全文
posted @ 2019-11-12 15:30 newmiracle宇宙 阅读(110) 评论(0) 推荐(0) 编辑
摘要: CSS3 滤镜Filter亮度动画 -webkit-filter:brightness 值越高 亮度越亮<pre><!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> .im 阅读全文
posted @ 2019-11-12 15:28 newmiracle宇宙 阅读(77) 评论(0) 推荐(0) 编辑
摘要: svg描边路径动画<pre><!DOCTYPE html><html> <head> <meta charset="UTF-8"> <style> html,body{ width:100%; height:100%; } /*1000是线条(path)的长度 stroke-dasharray和st 阅读全文
posted @ 2019-11-12 15:27 newmiracle宇宙 阅读(171) 评论(0) 推荐(0) 编辑
摘要: CSS3自定义字体写法 ps:最好英文 中文字体太大 影响加载速度 (中文字体网上的ttf大多数是gb2312 不过页面UTF-8格式可以用 不会乱码 <meta charset="UTF-8"> 会自动转化为utf-8)<pre><!DOCTYPE html><html> <head> <meta 阅读全文
posted @ 2019-11-12 15:27 newmiracle宇宙 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Linux crontab简明demo <pre>crontab文件的一些例子: 30 21 * * * /usr/local/etc/rc.d/lighttpd restart上面的例子表示每晚的21:30重启apache。 45 4 1,10,22 * * /usr/local/etc/rc.d 阅读全文
posted @ 2019-11-12 15:26 newmiracle宇宙 阅读(92) 评论(0) 推荐(0) 编辑
摘要: php explode容易犯的错误 <pre> $pos = strpos($v, 'Controller'); if (is_numeric($pos)) { $kongzhiqifege = explode('Controller', $v); $kongzhiqi = $kongzhiqife 阅读全文
posted @ 2019-11-12 15:25 newmiracle宇宙 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 比较简单的倒影效果 <pre><div class="box-reflect"><img src="https://www.baidu.com/img/bd_logo1.png" alt="" height="200"/></div> .box-reflect { margin: 210px aut 阅读全文
posted @ 2019-11-12 15:23 newmiracle宇宙 阅读(42) 评论(0) 推荐(0) 编辑
摘要: MySql计数器,如网站点击数,如何实现高性能高并发的计数器功能 由于并发的时候 不能同时写入一行数据 所以要分开写<pre>先创建表CREATE TABLE `article_view`( `article_id` int(11) NOT NULL, `pond` tinyint(4) NOT N 阅读全文
posted @ 2019-11-12 15:23 newmiracle宇宙 阅读(63) 评论(0) 推荐(0) 编辑
摘要: details字段带有\这个字符 <pre>$php =urlencode('eee\ee');$dfda='[{"company":"测试","job":"11","start":"2016.09","end":"2016.11","details":"'.$aa.'","time":"14674 阅读全文
posted @ 2019-11-12 15:19 newmiracle宇宙 阅读(142) 评论(0) 推荐(0) 编辑
摘要: nginx rewrite重写规则简明笔记 比方说http://newmiracle.cn/?p=888我要改成能这个访问http://newmiracle.cn/p888/ 首先用正则获取888 ^p([0-9]*)/$ 然后 <pre> location / { root /home/www/w 阅读全文
posted @ 2019-11-12 15:19 newmiracle宇宙 阅读(65) 评论(0) 推荐(0) 编辑
上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 97 下一页