This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.page_add { | |
width: 100%; | |
height: 100%; | |
background: #eee; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
心情很沉重的说 | |
为什么 | |
其实就是害怕 | |
为什么害怕呢 | |
因为怕做不好 | |
做不好什么呢 | |
我就是失败的人生吧 | |
所以要加油啊 | |
其实你是厉害的哦 | |
没有人可以让我放弃努力的 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import {Motion, spring} from 'react-motion' | |
import './css/demo1.css' | |
export default class Demo1 extends React.Component { | |
constructor(props) { | |
super(props) | |
this.state = { | |
open: false | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
我的 屁股是酸疼的 | |
好像 血液就要不流通 | |
我的 命是搞笑的 | |
也许 不应该又恨 | |
只是 迷茫 | |
发什么 神经 | |
我 就啊神经病 | |
还有 白痴 | |
姐姐 要结婚了 | |
我 还没听女朋友 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import {Link } from 'react-router' | |
export default class Home extends React.Component { | |
render() { | |
return <div> | |
<Link to="/">home</Link> | |
<Link to="/home1">home1</Link> | |
<Link to="/home2">home2</Link> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let React = require('react'); | |
/* Block position and velocity. */ | |
var block = { | |
x: 100, | |
v: 0, | |
destX: 120, | |
y: 50, | |
destY: 100, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>requestAnimationFrame</title> | |
</head> | |
<body> | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
// MIT license | |
(function () { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>requestAnimationFrame</title> | |
</head> | |
<body> | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
刘明泰 | |
mail:[email protected] | |
github:lazyTai | |
*/ | |
import React from 'react'; | |
import {Motion, spring} from 'react-motion'; | |
import './css.css' |