Conway's Game of Life as a React web app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

App.css 564B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .App {
  2. text-align: center;
  3. }
  4. .App-logo {
  5. height: 40vmin;
  6. pointer-events: none;
  7. }
  8. @media (prefers-reduced-motion: no-preference) {
  9. .App-logo {
  10. animation: App-logo-spin infinite 20s linear;
  11. }
  12. }
  13. .App-header {
  14. background-color: #282c34;
  15. min-height: 100vh;
  16. display: flex;
  17. flex-direction: column;
  18. align-items: center;
  19. justify-content: center;
  20. font-size: calc(10px + 2vmin);
  21. color: white;
  22. }
  23. .App-link {
  24. color: #61dafb;
  25. }
  26. @keyframes App-logo-spin {
  27. from {
  28. transform: rotate(0deg);
  29. }
  30. to {
  31. transform: rotate(360deg);
  32. }
  33. }