diff --git a/src/assets/stylesheets/error.scss b/src/assets/stylesheets/error.scss index 9cab153..304e07c 100644 --- a/src/assets/stylesheets/error.scss +++ b/src/assets/stylesheets/error.scss @@ -1,3 +1,13 @@ +#container { + opacity: 100%; + -webkit-animation: fade 0.9s ease-in; + -moz-animation: fade 0.9s ease-in; + -ms-animation: fade 0.9s ease-in; + -o-animation: fade 0.9s ease-in; + animation: fade 0.9s ease-in; + background-color: black; +} + .error { background-color: #232323; width: 100%; @@ -78,4 +88,10 @@ margin-top: 10%; margin-right: 20px; line-height: 35px; +} + +@keyframes fade { + 0% { + opacity: 0; + } } \ No newline at end of file diff --git a/src/components/Error.js b/src/components/Error.js index bb4714c..6361cd4 100644 --- a/src/components/Error.js +++ b/src/components/Error.js @@ -8,7 +8,7 @@ export default class Error extends Component { render() { return ( -
+
{ setHamburger(!hamburger); - } + }; return ( -
- {hamburger ? : null} - - -
+
+
+ {hamburger ? ( + + ) : null} + + + +
); }