摘要: 区块链智能合约开发实战以太坊 Ethereum & Solidity (1/20) 阅读全文
posted @ 2018-03-11 12:32 bjsunhe 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 1基本选择器* p #hi .hi 2层次选择器 div p body>div .active+div .active~div 3伪类选择器: 动态伪类选择器 :link :visited :hover :active :focus 目标伪类选择器 :target 语言伪... 阅读全文
posted @ 2015-11-25 21:11 bjsunhe 阅读(202) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/longxibendi/article/details/41630389可放到文件,内存中(如session),还有cache(高速缓存),还有 cookie,session,viewstate,这些是我们经常用到的,但可以认为他们是缓存数据。其实cache... 阅读全文
posted @ 2015-11-25 20:54 bjsunhe 阅读(213) 评论(0) 推荐(0) 编辑
摘要: CSS3有哪些新特性? CSS3实现圆角(border-radius:8px),阴影(box-shadow:10px), 对文字加特效(text-shadow、),线性渐变(gradient),旋转(transform) transform:rotate(9deg) scale(0.85,0.9... 阅读全文
posted @ 2015-11-25 13:16 bjsunhe 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 声明位于位于HTML文档中的第一行,处于 标签之前。告知浏览器的解析器用什么文档标准解析这个文档。DOCTYPE不存在或格式不正确会导致文档以兼容模式呈现。标准模式的排版 和JS运作模式都是以该浏览器支持的最高标准运行。在兼容模式中,页面以宽松的向后兼容的方式显示,模拟老式浏览器的行为以防止站点无... 阅读全文
posted @ 2015-11-25 11:14 bjsunhe 阅读(32980) 评论(0) 推荐(5) 编辑
摘要: 当我们需要对很多元素添加事件的时候,可以通过将事件添加到它们的父节点而将事件委托给父节点来触发处理函数。这主要得益于浏览器的事件冒泡机制。 阅读全文
posted @ 2015-11-23 21:29 bjsunhe 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 块级元素:div form table p h ol ul内联元素:span a input select textarea imgblock元素可以包含block元素和inline元素,但inline元素只能包含inline元素display:inline-block简单来说就是将对象呈现为inl... 阅读全文
posted @ 2015-11-23 18:28 bjsunhe 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1、块级元素:div p h form ul li ol2、行内元素:span img input textarea label a3、可变元素:button iframe块级元素:独占一行,宽度自动填满父元素宽度行内元素:不会独占一行 阅读全文
posted @ 2015-11-23 18:11 bjsunhe 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 建立maze.js, mazespace.js, robot.js界面逻辑写在robotmazeinterface.js"use strict";//maze.jsfunction Maze(width,height){ this.width=width; this.height=hei... 阅读全文
posted @ 2015-07-09 14:52 bjsunhe 阅读(277) 评论(0) 推荐(0) 编辑
摘要: function Question(text,choices,answer){//question.js this.text=text; this.choices=choices; this.answer=answer;}Question.prototype.isCorrectAnswer=func... 阅读全文
posted @ 2015-07-09 10:11 bjsunhe 阅读(163) 评论(0) 推荐(0) 编辑