- 博客(3)
- 资源 (5)
- 收藏
- 关注
原创 css代码缩写规范
使用css代码缩写可以大大提高程序员编写代码速率,下面列举常用css压缩规范。 边框(border) 边框的属性如下: border-width:1px;border-style:solid;border-color:#000; 可以缩写为一句:border:1px solid #000; 语法是border:width style color; 背景(Back
2013-04-11 11:33:07 627
原创 弹出框出现时,背景变淡(仿百度登陆弹框)
制作如下弹框,弹出时背景变淡。如下样式: 关键是把下面代码设置正确:外围透明层,和弹框position都使用position:fixed,相对浏览器定位; ; #qiushu #dialog_display{ position: relative; margin: 0 auto; } #qiushu #dialog_outer{ position: fixed;
2013-03-13 22:11:24 1216 1
原创 新手进阶,关于字符串和boolalpha的问题
#include using namespace std; int main() { char str1[]="abc"; char str2[]="abc"; char* str3="abc"; char* str4="abc"; cout cout return 0; } //输出为false,true //str1和受str2在栈中开辟了自己的存储区,首地址不
2012-07-30 14:55:43 270
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人