CSS透明色 background-image:-ms-linear-gradient(rgba(255,255,255,.50) 0,rgba(255,255,255,.50) 100%) !important; 8年前 2099 浏览
git设置用户名,密码 git config --global user.name "lubin" git config --global user.email [email protected] 8年前 3481 浏览
apache 禁止浏览目录 当我们不想让别人直接访问某些目录时:#Options Indexes FollowSymLinks 改成Options -Indexes FollowSymLinks <Direc 8年前 2211 浏览
vim设置缩进,缩进大小 编辑vim配置文件:vim /etc/vimrc 添加几行: set nu//设置行号 set autoindent set ts=4 //这个是设置tap的大小为4个空格 8年前 2557 浏览
IPMI Could not open device 我们使用ipmi公式,出现以下错误:IPMI Could not open device当提示:[[email protected] ~]# ipmitool&n 8年前 3854 浏览
js验证汉字 使用js验证汉字,只允许输入汉字:var str=document.getElementById("name").value; var reg = /^[\u4e00-\u9fa5]+$/i; if ( 8年前 2550 浏览
html中文显示 html乱码 html输出中文,在html头部,即head标签里面,加入以下:<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 或者 <meta 8年前 2422 浏览
CSS 根据屏幕大小设置样式 使用css 的@media screen属性:<!-- 浏览器宽度不超过1030px时 --> @media screen and (max-width: 1030px) { &nbs 8年前 3428 浏览