Skip to content

Commit

Permalink
copying style.css to app.css and deleting style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Arsalan-Sadri committed Oct 24, 2018
1 parent 0cef592 commit a708373
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 24 deletions.
43 changes: 42 additions & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,45 @@
font-size: 3rem;
color: #2A77AE;
margin-bottom: 50px;
}
}

@keyframes shake1 {
0% { transform: translate(1px, 1px) rotate(0deg); }
10% { transform: translate(-1px, -2px) rotate(-1deg); }
20% { transform: translate(-3px, 0px) rotate(1deg); }
30% { transform: translate(3px, 2px) rotate(0deg); }
40% { transform: translate(1px, -1px) rotate(1deg); }
50% { transform: translate(-1px, 2px) rotate(-1deg); }
60% { transform: translate(-3px, 1px) rotate(0deg); }
70% { transform: translate(3px, 1px) rotate(-1deg); }
80% { transform: translate(-1px, -1px) rotate(1deg); }
90% { transform: translate(1px, 2px) rotate(0deg); }
100% { transform: translate(1px, -2px) rotate(-1deg); }
}

@keyframes shake2 {
0% { transform: translate(1px, 1px) rotate(0deg); }
10% { transform: translate(-1px, -2px) rotate(-1deg); }
20% { transform: translate(-3px, 0px) rotate(1deg); }
30% { transform: translate(3px, 2px) rotate(0deg); }
40% { transform: translate(1px, -1px) rotate(1deg); }
50% { transform: translate(-1px, 2px) rotate(-1deg); }
60% { transform: translate(-3px, 1px) rotate(0deg); }
70% { transform: translate(3px, 1px) rotate(-1deg); }
80% { transform: translate(-1px, -1px) rotate(1deg); }
90% { transform: translate(1px, 2px) rotate(0deg); }
100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.anim-1 {
animation: shake1 0.5s;
}

.anim-2 {
animation: shake2 0.5s;
}

:export {
animation: shake1 0.5s;
}

3 changes: 1 addition & 2 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import "./App.css";
import shakeCSS from "./App.css";
import React, { Component } from "react";
import Card from "./components/Card";
import Wrapper from "./components/Wrapper";
import axi from "./data";
import shakeCSS from "./style.css";

class App extends Component {

Expand Down
21 changes: 0 additions & 21 deletions src/style.css

This file was deleted.

0 comments on commit a708373

Please sign in to comment.