CSS3 Pushing the Limits - Advanced Selectors Posted on 2016-02-17 | In CSS Child Combinatordiv > p { background-color: yellow;} > 符号表示的是 div的child 为p标签的元素,注意是子元素,就表明不是选中那些更深层的孙子一级的 Adjacent Sibling Combina ... Read more »
Angular2 - Components - inputEffects Posted on 2016-02-16 | In CSS 原设计:http://tympanus.net/codrops/2015/03/18/inspiration-text-input-effects-2/ 这个组件用了一些 aweson Font 的 icon 还用了原作者的一个 search.svg import { Component ... Read more »
Angular2 - Components - shadedProgressBars Posted on 2016-02-15 | In CSS 这次实现的是进度条效果 3D 的 所以对浏览器有要求。因为主要用了transform-style: preserve-3d; IE 上是扁平的。。。。切记切记 基本用法 <shadedProgressBars width="600px" value="35" [options]="option ... Read more »
Angular2 - Components - articleItem Posted on 2016-02-06 | In CSS 偷取了这个 CSS 效果做了一个组件 原设计地址:http://codepen.io/balapa/pen/vLzmmM 原设计尺寸位置都是固定的。css 做了一些改动,并且动画改动了下,没有做椭圆轨迹的移动。以后看能否加上 添加了基本的文字 overflow 的处理 和 Read More 按钮 ... Read more »
Singer - Page Posted on 2016-02-05 | In Angular2 Singer 是一个联系页 介绍:根据https://www.behance.net/gallery/31860117/Honoured-singer 这里的设计实现的首页 angular2 基本功能涉及 animation Rxjs basic router inputs/outpus host ... Read more »
如何关联本地文件到github仓库 Posted on 2016-02-03 | In Tools 老是记不住,所以写下来 推送本地工程到github仓库进入到本地工程目录。依次执行: git init # 本地仓库初始化,执行完后会在工程目录下生成一个.git的隐藏目录 git add . # 添加所有文件到本地索引,命令用法:g ... Read more »
How to Make 100% Height Posted on 2016-02-03 | In CSS Today, I have a problem with the 100% height of body tag. Answer: For modern browserbody{height:100vh; } Read more »
Angular2 - Class - LocationStrategy Posted on 2016-01-29 | In Angular2 LocationStrategy` is responsible for representing and reading route state from the browser’s URL. Angular provides two strategies: {@link HashLocatio ... Read more »
Angular2 - Class - AsyncRoute Posted on 2016-01-29 | In Angular2 AsyncRoute is a type of RouteDefinition used to route a path to an asynchronously loaded component.import {RouteConfig} from 'angular2/route ... Read more »
Angular2 - Class - Request Posted on 2016-01-29 | In Angular2 class RequestOptions – 创建request的参数class BaseRequestOptions – 具有一些默认值的经典参数 RequestOptionsimport {RequestOptions, Request, RequestMethods} fr ... Read more »