Advertisement
Guest User

Untitled

a guest
Oct 19th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Lenyűgözés</title>
  5. <style>
  6. @import url('https://fonts.googleapis.com/css?family=Work+Sans:300&subset=latin-ext');
  7. html, body {
  8. height: 100%;
  9. overflow: hidden;
  10. margin: 0;
  11. }
  12. body {
  13. background-image: url("hatter.jpg");
  14. background-repeat: no-repeat;
  15. background-size: cover;
  16. background-position: center;
  17. color: white;
  18. font-size: 50px;
  19. font-family: 'Work sans';
  20. }
  21. .pirosvonal {
  22. border: 1px solid red;
  23. }
  24. .szovegkozepre {
  25. text-align: center;
  26. }
  27. .fuggkozepre {
  28. position: absolute;
  29. top: 50%;
  30. transform: translate(0, -50%);
  31. }
  32. .vizszkozepre {
  33. position: absolute;
  34. left: 50%;
  35. transform: translate(-50%, 0);
  36. margin-right:50%;
  37. }
  38. .tokkozepre {
  39. position: absolute;
  40. top:50%;
  41. left: 50%;
  42. transform: translate(-50%, -50%);
  43. margin-right: -50%;
  44. }
  45. .lablec {
  46. bottom: 0;
  47. }
  48. .kisbetu {
  49. font-size:16px;
  50. font-family: arial;
  51. }
  52. .fejlec {
  53. width: 400px;
  54. text-align: center;
  55. }
  56. a {
  57. color:white;
  58. text-decoration: none;
  59. }
  60. .gomb {
  61. font-size: 16px;
  62. font-family: arial;
  63. background-color: rgba(0, 0, 0, .7);
  64. padding: 10px 20px;
  65. width: 100px;
  66. display: inline-block;
  67. // opacity: .7;
  68. }
  69. .videomeret {
  70. width: auto;
  71. height: auto;
  72. min-width: 100%;
  73. min-height:100%;
  74. z-index: -1;
  75. }
  76. </style>
  77. </head>
  78. <body>
  79. <!-- <video class="videomeret tokkozepre" autoplay loop muted poster="hatter.jpg" src="hatter.mp4"></video>
  80. -->
  81. <div class="kisbetu vizszkozepre fejlec">Fejléc
  82. <a href="/aboutus.htm">Magunkról</a>
  83. <a href="http://facebook.com">Facebook</a>
  84. <a href="akarmi.htm">Google</a>
  85. </div>
  86. <div class="szovegkozepre tokkozepre">Árvíztűrő tükörfúrógép
  87. <div>
  88. <a class="gomb" href="/aboutus.htm">Akció!</a>
  89. <a class="gomb" href="http://facebook.com">Iwiw</a>
  90. <a class="gomb" href="akarmi.htm">Megrendelem!</a>
  91. </div>
  92. </div>
  93. <div class="kisbetu vizszkozepre lablec">Lábléc</div>
  94. </body>
  95. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement