Advertisement
Guest User

Untitled

a guest
May 19th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.13 KB | None | 0 0
  1. html {
  2.     scroll-behavior: smooth;
  3. }
  4.  
  5. body{
  6.     background-image: url("image1.jpg");
  7.     height: 10000px;
  8.     font-family: Arial;
  9. }
  10. #label {
  11.     height: 300px;
  12.     width: auto;
  13.     background: aqua;
  14.    
  15.     margin-top: 30px;
  16.     font-size: 80px;
  17.     text-align: center;
  18.     color: white;
  19.     text-shadow:
  20.     2px 2px 0 #33402a,
  21.     -2px 2px 0 #33402a,
  22.     -2px -2px 0 #33402a,
  23.     2px -2px 0 #33402a;
  24.     border-radius: 20px;
  25.     line-height: 150px;
  26.     cursor: default;
  27. }
  28. .menu {
  29.     height: 80px;
  30.     width: auto;
  31.     background: red;
  32.     border-radius: 10px;
  33.     line-height: 80px;
  34.     text-align: center;
  35.     font-size: 50px;
  36.     color: white;
  37.     top: 5px;
  38.     z-index: 100;
  39.     position: sticky;
  40.     top: 5px;
  41. }
  42. .menu:hover {
  43.     background: #A50000;
  44.     cursor: pointer;
  45. }
  46.  
  47. .menu_text {
  48.     line-height: 80px;
  49.     text-align: center;
  50.     font-size: 50px;
  51.     color: white;
  52. }
  53. .option {
  54.     top: 0;
  55.     height: 80px;
  56.     background: red;
  57.     list-style-type: none;
  58.     margin: 0;
  59.     text-align: center;
  60. }
  61. .option:hover{
  62.     background: #A50000;
  63. }
  64. ul>li {
  65.     display: none;
  66. }
  67. ul:hover>li {
  68.     display: block;
  69.     cursor: pointer;
  70. }
  71. #example {
  72.     transform: translateY(500px);
  73. }
  74. #example2 {
  75.     transform: translateY(1000px);
  76. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement