SHARE
TWEET

Untitled

a guest Jan 18th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. body {
  2.   background-color: green;
  3.   margin: 0px;
  4. }
  5. h1 {
  6.   text-align: center;
  7.   color: #FFF;
  8. }
  9. #track {
  10.   position: relative;
  11.   background-color: gray;
  12.   padding: 30px 0px;
  13.   border-top: 3px solid black;
  14.   border-bottom: 3px solid black;
  15. }
  16.  
  17. .car {
  18.   position: relative;
  19.   left: 0px;
  20.   height: 58px;
  21.   width: 83px;
  22.   margin: 20px 0px;
  23.   transition: all 1s linear;
  24.   z-index: 1;
  25. }
  26. .car#car1 {
  27.   background-image: url(car1.png);
  28. }
  29. .car#car2 {
  30.   background-image: url(car2.png);
  31. }
  32. .car#car3 {
  33.   background-image: url(car3.png);
  34. }
  35. #finish {
  36.   position: absolute;
  37.   height: 100%;
  38.   width: 30px;
  39.   background-color: white;
  40.   right: 0px;
  41.   top: 0px;
  42.   z-index: 0;
  43.   background-image: url(finish.jpg);
  44.   background-size: 50px;
  45. }
  46.  
  47. button {
  48.   padding: 30px;
  49.   margin: 50px auto;
  50. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top