.ff{ border-style:solid; border-color:#fff #fff #f00 #fff; /* 向上*/ border-width:0px 60px 100px 60px; height:0; width:0; } <div class="ff"> </div> ...
分类:
Web程序 时间:
2016-05-10 09:44:53
阅读次数:
195
public Texture2D pic; private bool Cl = false; void OnGUI() { GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height), pic); GUIStyle style = new ...
分类:
编程语言 时间:
2016-05-10 09:44:11
阅读次数:
468
这是基本JavaScript的屏幕对象 screen 屏幕对象 反映了当前用户的屏幕设置。 width 返回屏幕的宽度(像素数)。 height 返回屏幕的高度。health.hljmlyfcyy.com availWidth 返回屏幕的可用宽度(除去了一些不自动隐藏的类似任务栏的东西所占用的宽度) ...
分类:
编程语言 时间:
2016-05-10 09:42:57
阅读次数:
129
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style> * {margin:0; padding: 0} button { width: 50px; } p { text ...
分类:
编程语言 时间:
2016-05-10 02:00:57
阅读次数:
188
一、使用<div>元素布局<!DOCTYPEhtml>
<htmllang="en">
<head>
<metacharset="UTF-8">
<title>div布局</title>
<styletype="text/css">
body{
margin:0px;
}
#container{
width:100%;
height:950px;
background-color:darkgra..
分类:
Web程序 时间:
2016-05-09 22:17:20
阅读次数:
259
public class AuthCode { public static final int AUTHCODE_LENTH = 5;//验证码的长度 public static final int SINGLECODE_WIDTH = 15;//单个验证码的宽度 public static fin ...
分类:
其他好文 时间:
2016-05-09 22:10:33
阅读次数:
264
// 自定义各个顶角的圆角 /// 头像 iconView = UIImageView() iconView.frame.size = CGSizeMake(Consts.WIDTH - 10, 170 * Consts.RATE) contentView.addSubview(iconView) ...
分类:
其他好文 时间:
2016-05-09 18:48:21
阅读次数:
164
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. ...
分类:
移动开发 时间:
2016-05-09 17:03:00
阅读次数:
276
css控制字符长度超出变成点点点显示 width 必不可少 ...
分类:
Web程序 时间:
2016-05-09 12:45:27
阅读次数:
6016
(1)使用float <div class="use-float"> <div></div> <div></div> </div> .use-float>div:first-child{ width:100px; float:left; } .use-float>div:last-child{ ov ...
分类:
其他好文 时间:
2016-05-09 12:29:10
阅读次数:
114