Advertisement
duarteguerreiro

Cenas

Feb 23rd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Ficha01</title>
  5. <meta charset="utf-8">
  6. <link rel="stylesheet" type="text/css" href="aula.css">
  7.  
  8. </head>
  9. <body>
  10. <audio controls loop autoplay hidden>
  11. <source src="track.mp3" type="audio/mpeg">
  12. Your browser does not support the audio element.
  13. </audio>
  14. <header>
  15. <figure>
  16. </figure>
  17. <section id="textoBanner">
  18. <p>The end of Compromise</p>
  19. <p>The Stiletto answers questions no one dared to ask. Can you make a performance electric car? Can you make a luxury car affordable? Can you make a
  20. small car safe? Can I drive from LA to Vegas in an electric car?</p>
  21. <p>Z.E.V. has an answer: Yes.</p>
  22. </section>
  23. </header>
  24. <nav>
  25. <button>
  26. <p>teste1</p>
  27. </button>
  28. <button>
  29. <p>teste2</p>
  30. </button>
  31. <button>
  32. <p>teste3</p>
  33. </button>
  34. </nav>
  35. <div>
  36. <p>
  37. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc,
  38. </p>
  39. </div>>
  40. </body>
  41. </html>
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49. Css
  50. header, main
  51. {
  52. margin: auto;
  53. }
  54. header
  55. {
  56. width: 35%;
  57. }
  58. nav{
  59. float right;
  60. left: 27% ;
  61. position: relative;
  62. }
  63. figure
  64. {
  65. height: 100%;
  66. width: 60%;
  67. margin: 0%;
  68. display: inline-block;
  69. animation-name: animImg;
  70. background-position: left;
  71. background-repeat:no-repeat;
  72. animation-duration: 15s;
  73. animation-timing-function: linear;
  74. animation-iteration-count: infinite;
  75. }
  76. @keyframes animImg
  77. {
  78. 0% {background-image: url("view1.png");}
  79. 25% {background-image: url("view2.png");}
  80. 50% {background-image: url("view3.png");}
  81. 75% {background-image: url("view2.png");}
  82. 100%{background-image: url("view1.png");}
  83. }
  84. header{
  85. height: 40vh;
  86. width: 100vh;
  87. border-radius:2%;
  88. background:
  89. url("logo.svg") 50% 40% /90% 90% no-repeat,
  90. url("backgr.png") 0% 0%/100% 100%,
  91. radial-gradient(farthest-side at 20% 80%,#777799,#111133) 100% 100%;
  92. }
  93. #textoBanner{
  94. display: inline-block;
  95. width: 35vh;
  96. height: 75vh;
  97. color: white;
  98. font-size: 2vh;
  99. margin-left: 2vh;
  100. margin-bottom: 10vh;
  101.  
  102. }
  103. button
  104. {
  105. background-color: #777799;
  106. cursor: pointer;
  107. width: 210px;
  108. padding: 50px;
  109. transition: background-color 2s;
  110. }
  111. button:hover
  112. {
  113. background-color: #aaaacc;
  114. }
  115. button:active
  116. {
  117. background-color: #333355;
  118. }
  119. div{
  120. text-align: left right;
  121. border-left:30%
  122. border-right:30%;
  123. margin-right:250px;
  124. margin-left: 325px;
  125.  
  126. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement