SHARE
TWEET

CSS Done

a guest Sep 30th, 2017 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. body {
  2.     background: url(../img/main.jpg) no-repeat center fixed;
  3.     background-size: cover;
  4. }
  5.  
  6. .menu ul {
  7.     list-style:none;
  8.     padding: 0;
  9.     margin: 0;
  10.     text-align: center;
  11. }
  12.  
  13. .menu li {
  14.     border: 1px solid black;
  15.     background-color: #4da6ff; /* Világoskék */
  16.     width: 90px;
  17.     text-align: center;
  18.     display: inline-block;
  19. }
  20.  
  21. .menu li a {
  22.     display: block;
  23.     color: white; /* Betuszín */
  24.     padding: 12px;
  25.     text-decoration: none;
  26. }
  27.  
  28. .menu li a:hover {
  29.     background-color: #ffdb4d; /* Világossárga*/
  30. }
  31.  
  32. .menu .active {
  33.     background-color: #4CAF50;
  34. }
  35.  
  36. .menu {
  37.     top: 20px;
  38.     display: block;
  39.     position: fixed;
  40.     width: 100%;
  41. }
  42.  
  43. .text p {
  44.     margin: 80px 40px 20px 40px;
  45.     padding: 10px;
  46.     text-align:  justify;
  47.     background-color: white;
  48.        filter:alpha(opacity=50);
  49.    -moz-opacity:0.7;
  50.    opacity: 0.7;
  51.    top: 80px;
  52.    position: absolute;
  53.    border: 1px solid;
  54. }
  55.  
  56. .pTitle {
  57.     margin: 106px 80px 200px 40px;
  58.     padding: 10px;
  59.     top: 90px;
  60.     text-align: center;
  61.     font-size: 30px;
  62.         background-color: white;
  63.        filter:alpha(opacity=50);
  64.    -moz-opacity:0.9;
  65.    opacity: 0.9;
  66.    width: 260px;
  67.    border: 1px solid;
  68.    font-family: Arial;
  69. }
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