自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 YII2与Bootstrap

今天突然发现用Bootstrap 中的导航组件写的功能没效果了,查看原理是没有加载到bootstrap.js文件,添加depends就好了。<?phpnamespace frontend\assets;use yii\web\AssetBundle;class AppAsset extends AssetBundle{ public $basePath = '@webroot';

2015-03-27 14:38:56 1883

原创 CSS使用积累

CSS使用积累1.DropdownBootstrap dropdown with mouse hover rather than click.<div class="btn-group"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Action <span class="caret"></spa

2015-03-24 12:01:12 539

原创 js时间的处理

1.Date对象var myDate = new Date(); myDate.getFullYear(); //获取完整的年份(4位,1970-????) myDate.getMonth(); //获取当前月份(0-11,0代表1月) myDate.getDate(); //获取当前日(1-31) myDate.getDay();

2015-03-20 13:43:07 483

原创 服务器上部署GIT上线命令

服务器上部署GIT上线命令结构: 服务器+本地环境1.在服务器git上建立一个裸仓库# 服务器上$ mkdir project.git$ cd project.git$ git --bare init2.将你本地的代码上传到服务器# 在你的电脑上$ cd myproject$ git init$ git add .$ git commit -m 'initial commit

2015-03-20 13:18:14 1289

原创 jq元素节点与属性的相关操作

1.判断某个class属性是否存在。$("input[name=new]").hasClass("new");2.判断其他属性是否存在。typeof($("#xxx").attr("rel"))=="undefined"

2015-03-18 11:31:10 760

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除