2017年11月11日

过渡

摘要: transition过渡 取值 transition-property 参与过渡的属性 transition-duration 过渡的持续时间 transition-timing-function 过渡动画类型linear: 线性过渡。等同于贝塞尔曲线(0.0, 0.0, 1.0, 1.0)ease 阅读全文

posted @ 2017-11-11 19:57 winerss 阅读(128) 评论(0) 推荐(0) 编辑

flex布局

摘要: Flex (flexible box)弹性盒模型 1、设置flex布局后,子元素的float、clear、vertical-align属性将失效。 容器的属性 flex-direction: row(默认值,主轴为水平方向,起点在左) row-reverse(主轴为水平方向,起点在右) column 阅读全文

posted @ 2017-11-11 17:09 winerss 阅读(91) 评论(0) 推荐(0) 编辑

2017年10月2日

react实战第一步--搭建项目

摘要: 使用 create-react-app 快速构建 React 开发环境 1、cnpm install -g create-react-app 2、create-react-app react2(react2是项目名字) 3、cd react2 4、npm start 如下图已经成功创建项目。可以看到 阅读全文

posted @ 2017-10-02 13:43 winerss 阅读(135) 评论(0) 推荐(0) 编辑

2017年9月30日

git上传项目到github简易步骤

摘要: 第一步: 在github创建仓库,创建完成进入该仓库,仓库地址如:https://github.com/winerss/wcMall格式 第二步:使用git,cd到本地项目目录下,执行git明令: git init 第三步:将项目的所有文件添加到仓库中 git add . (add后面空格) 第四步 阅读全文

posted @ 2017-09-30 13:17 winerss 阅读(149) 评论(0) 推荐(0) 编辑

导航