会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ThisCall
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
119
120
121
122
123
124
125
126
127
···
129
下一页
2017年8月14日
CSS 范围选择器(自编)
摘要: 选择第一个到第六个li元素ul li:nth-child(n+3):not(:nth-child(n+6)){}选择第二个到最后一个ul li:nth-child(2)~li{}选择除了第一个和最后一个ul li:not(:first-child):not(:last-child){}
阅读全文
posted @ 2017-08-14 08:54 ThisCall
阅读(1280)
评论(0)
推荐(0)
2017年8月13日
CSS 选择器的兼容性
摘要: 参考网站 http://blog.csdn.net/yume_sola/article/details/70215695 http://www.youdiancms.com/jianrong/614.html 标签选择器 就是用标签名来当做选择器。 1 、所有标签都能够当做选择器,比如body、h1
阅读全文
posted @ 2017-08-13 09:45 ThisCall
阅读(624)
评论(0)
推荐(0)
CSS 选择器继承和层叠
摘要: CSS选择器及其继承特性、层叠特性1.基本选择器 标记 id class 这个就不再作介绍了 2.复合选择器 交集 交集选择器由两个选择器直接连接构成,其结果是选中二者各自元素范围的交集 其中第一个必须是标记选择器,第二个必须是类别选择器或者ID选择器,须连续书写 如,div.class 并集 并集
阅读全文
posted @ 2017-08-13 09:45 ThisCall
阅读(365)
评论(0)
推荐(0)
Jquery Jquery对象和DOM对象的微妙联系
摘要: 声明变量 var $variable= Jquery 对象; var varibake= DOM对象; var $cr= $("#id"); Jquery 对象; var cr= $cr.get(0) DOM对象;$cr.get(0)此处与 $cr[0] 等同 var cr=document.get
阅读全文
posted @ 2017-08-13 08:44 ThisCall
阅读(205)
评论(0)
推荐(0)
2017年8月11日
PHP 4种输出的方式
摘要: <?php //测试用的数组 $info = array('11'=>'aaa', '22'=>'bbb', '33'=>'ccc'); //第一种,将整个数组作为一个对象输出,DEBUG专用 echo '<br> <br>'; var_dump($info); //第二种,foreach,只能输入
阅读全文
posted @ 2017-08-11 19:42 ThisCall
阅读(354)
评论(0)
推荐(0)
2017年8月10日
Node http和express和mysql
摘要: const http = require("http");const express = require("express");const mysql = require("mysql"); var pool = mysql.createPool({ host:'127.0.0.1', user:'
阅读全文
posted @ 2017-08-10 17:20 ThisCall
阅读(207)
评论(0)
推荐(0)
Node post请求 通常配合ajax
摘要: //处理客户post请求//*1:加载相应模块 http express querystring//*2:创建web服务器//*3:监听端口8080const http = require("http");const express = require("express");const qs = r
阅读全文
posted @ 2017-08-10 17:05 ThisCall
阅读(347)
评论(0)
推荐(0)
Node json
摘要: //1:加载相关模块 http express mysqlconst http = require("http");const mysql = require("mysql");const express = require("express");console.log(1);//2:创建连接池va
阅读全文
posted @ 2017-08-10 16:24 ThisCall
阅读(225)
评论(0)
推荐(0)
Node params和query的Get请求传参
摘要: //1:加载http express框架//2:创建服务器const http = require("http");const express = require("express");var app = express();var server = http.createServer(app);s
阅读全文
posted @ 2017-08-10 15:52 ThisCall
阅读(1388)
评论(0)
推荐(0)
Node express
摘要: const http = require("http");const express = require("express");//3:创建express应用//4:创建服务器var app = express();//Express本质是一个处理请求函数var server = http.crea
阅读全文
posted @ 2017-08-10 15:27 ThisCall
阅读(282)
评论(0)
推荐(0)
上一页
1
···
119
120
121
122
123
124
125
126
127
···
129
下一页
公告