Advertisement
pacho_the_python

Untitled

Dec 2nd, 2023
664
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.72 KB | None | 0 0
  1. body {
  2.     background-color: rgb(189, 185, 185);
  3. }
  4.  
  5. #section {
  6.     width: 600px;
  7.     height: 200px;
  8.     position: absolute;
  9.     top: 50%;
  10.     left: 50%;
  11.     transform: translate(-50%, -120%);
  12. }
  13.  
  14. #click {
  15.     width: 150px;
  16.     padding: 10px 20px;
  17.     background-color: blueviolet;
  18.     color: white;
  19.     border-radius: 8px;
  20.     border: none;
  21. }
  22.  
  23. #left-btn {
  24.     width: 150px;
  25.     padding: 10px 20px;
  26.     background-color: blueviolet;
  27.     color: white;
  28.     border-radius: 8px;
  29.     border: none;
  30.     position: absolute;
  31.     left: 35%;
  32. }
  33.  
  34. #right-btn {
  35.     width: 150px;
  36.     padding: 10px 20px;
  37.     background-color: blueviolet;
  38.     color: white;
  39.     border-radius: 8px;
  40.     border: none;
  41.     position: absolute;
  42.     left: 75%;
  43. }
  44.  
  45. #upper-btn {
  46.     width: 150px;
  47.     padding: 10px 20px;
  48.     background-color: blueviolet;
  49.     color: white;
  50.     border-radius: 8px;
  51.     border: none;
  52.     position: absolute;
  53.     left: 50%;
  54.     top: 50%;
  55. }
  56.  
  57. #down-btn {
  58.     width: 150px;
  59.     padding: 10px 20px;
  60.     background-color: blueviolet;
  61.     color: white;
  62.     border-radius: 8px;
  63.     border: none;
  64.     position: absolute;
  65.     left: 50%;
  66.     top: 50%;
  67.     transform: translate(-50%, -50%);
  68. }
  69.  
  70. #down-left-btn {
  71.     width: 150px;
  72.     padding: 10px 20px;
  73.     background-color: blueviolet;
  74.     color: white;
  75.     border-radius: 8px;
  76.     border: none;
  77.     position: absolute;
  78.     left: 0%;
  79.     top: 100%;
  80.     transform: translate(-0%, -100%);
  81. }
  82.  
  83. #down-right-btn {
  84.     width: 150px;
  85.     padding: 10px 20px;
  86.     background-color: blueviolet;
  87.     color: white;
  88.     border-radius: 8px;
  89.     border: none;
  90.     position: absolute;
  91.     left: 100%;
  92.     top: 100%;
  93.     transform: translate(-100%, -100%);
  94. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement