元素选择器 也是类型选择器 html {color:black;} h1 {color:blue;} h2 {color:silver;} 选择器分组 h2, p {color:gray;} 通配符选择器 * {color:red;} CSS 类选择器 <h1 class="important">h ...
分类:
Web程序 时间:
2017-07-13 16:09:14
阅读次数:
181
1、合并表格的边框线 border-collapse:collpase 2、表格宽度 width:800px 3、边框线 border:1px solid blue(边框线像素 实线 颜色为蓝色) 上边框 1、border-top-color 颜色值例如border-top-color:blue 2 ...
分类:
Web程序 时间:
2017-07-10 22:14:16
阅读次数:
236
OpenGL_ES2.0 -纹理 一:纹理基础: 1: 纹素的概念: 一个二维纹理在OpenGLES2.0中是非经常见的,二维纹理就是一个二维数组,每一个数据元素称为纹素,详细格式例如以下: GL_RGB (Red, Green, Blue) GL_RGBA (Red, Green, Blue, A ...
分类:
其他好文 时间:
2017-07-10 14:31:27
阅读次数:
219
var colors = ["red", "blue", "green"]; // 创建一个包含3 个字符串的数组 console.log(colors.toString()); // red,blue,green console.log(colors.valueOf()); // red,blue... ...
分类:
其他好文 时间:
2017-07-05 13:47:15
阅读次数:
160
<!DOCTYPE html><html> <head> <style> .triangle { width : 0; height: 0; border : 100px solid transparent; border-top : 100px solid blue; /*这里可以设置border ...
分类:
其他好文 时间:
2017-07-05 11:34:57
阅读次数:
105
《html5拖拽》 1、给元素设置 draggable="true" 属性,这个元素就可以被拖拽了 《拖拽元素事件》 2、ondragstart 拖拽前触发得得事件 例:div1.ondragstart=function(){ //拖拽前 div1.style.background="blue"; ...
分类:
移动开发 时间:
2017-07-01 18:28:20
阅读次数:
970
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, ...
分类:
编程语言 时间:
2017-07-01 17:16:29
阅读次数:
133
http://biyeah.iteye.com/blog/1295196 socket.io的介绍 http://www.cnblogs.com/mazg/p/5467960.html websocket在线测试 http://www.blue-zero.com/WebSocket/ ...
分类:
Web程序 时间:
2017-06-30 18:04:36
阅读次数:
247
Description The people of Mohammadpur have decided to paint each of their houses red, green, or blue. They've also decided that no two neighboring hou ...
分类:
其他好文 时间:
2017-06-29 19:16:25
阅读次数:
186
1 div{ 2 background: pink; /*不支持渐变色的浏览器*/ 3 background: -webkit-gradient(linear,0 0,0 100%,from(red) ,to(blue)); 4 background: -moz-linear-gradient(to ...
分类:
其他好文 时间:
2017-06-26 19:09:08
阅读次数:
117