码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
HTML5制作满天星
1、了解canvas   canvas id="stars" height="600">canvas>   这是画布 2、设置body背景色   style type="text/css">     body{         background-color: black;     } style>   3、初始化画布及context...
分类:Web程序   时间:2014-11-23 20:18:54    阅读次数:317
HTML5-陪你去看流星雨
在上一篇的基础上 1、新增流星雨对象   //流星 var MeteorRain = function(){     this.x = -1;     this.y = -1;     this.length = -1;//长度     this.angle = 30; //倾斜角度     this.width = -1;//宽度     this.height ...
分类:Web程序   时间:2014-11-23 20:18:01    阅读次数:244
margin-right没有效果的问题
margin-right其实有效果的,只是在默认即标准流的情况的下显示不出来效果。如果脱离标准流呢?想到这个,就立马在css文件中加了一个:float:right;然后在测试的时候就能看到margin-right的效果了。.style1{ width:400px; height:440px; bac...
分类:其他好文   时间:2014-11-23 20:11:01    阅读次数:208
[Leetcode] Largest Rectangle in Histogram
Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog...
分类:其他好文   时间:2014-11-23 17:19:58    阅读次数:254
Android学习笔记-广播机制
Android广播类似QT中的信号和槽~~~界面文件activity_main.xml<TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/hello_world"/> <Button android:id="@+id/send1" android:la..
分类:移动开发   时间:2014-11-23 16:07:58    阅读次数:196
Convert Sorted List to Binary Search Tree
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.C++代码实现:#include#include#include#includeu...
分类:其他好文   时间:2014-11-23 15:53:30    阅读次数:256
CS3媒体查询能检测到的特性小结
CSS3的Media Queries能够检测到的特性总结:视口(viewport)解释地址:http://baike.baidu.com/view/1522985.htmwidth:视口宽度的检测height:视口高度的检测device-width:设备屏幕宽度(设备渲染平面宽度)的检测device...
分类:其他好文   时间:2014-11-23 15:49:48    阅读次数:201
图片链接
分类:其他好文   时间:2014-11-23 09:14:54    阅读次数:141
C#绘制准心脚本
欢迎来到unity学习、unity培训、unity企业培训教育专区,这里有很多U3D资源、U3D培训视频、U3D教程、U3D常见问题、U3D项目源码,我们致力于打造业内unity3d培训、学习第一品牌。texture.width>>1和(texture.height>>是右移一位,相当于除以2。(x>>1)和(x/2)..
分类:Windows程序   时间:2014-11-23 08:13:07    阅读次数:300
C#绘制准心脚本
欢迎来到unity学习、unity培训、unity企业培训教育专区,这里有很多U3D资源、U3D培训视频、U3D教程、U3D常见问题、U3D项目源码,我们致力于打造业内unity3d培训、学习第一品牌。texture.width >> 1和(texture.height >>是右移一位,相当于除以2...
分类:Windows程序   时间:2014-11-23 00:33:25    阅读次数:279
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!