Advertisement
Guest User

sdsdf

a guest
Oct 22nd, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. <html lang="pt-br">
  2.  
  3. <head>
  4. <meta charset="utf8">
  5. <style>
  6. * {
  7. margin: 0;
  8. font-family: 'Roboto', sans-serif;
  9.  
  10. }
  11.  
  12. body {
  13. background-color: #eee;
  14. }
  15.  
  16. #lateral {
  17. float: right;
  18. width: 600px;
  19. height: 100%;
  20. background-color: #fff;
  21. box-shadow: -2px 0 0 0 #ffa2a2;
  22. display: block;
  23. }
  24.  
  25. .centro {
  26. margin-top: 200px;
  27. margin-left: 250px;
  28. }
  29.  
  30. #lateral h1 {
  31. font-size: 21px;
  32. color: #000;
  33. padding: 20px 45px 2px;
  34. }
  35.  
  36. nav ul {
  37. padding: 0px;
  38. margin: 0px;
  39. background-color: #ff4d33;
  40. height: 45px;
  41. list-style: none;
  42. }
  43.  
  44. nav ul li {
  45. display: inline;
  46. }
  47.  
  48. nav ul li a {
  49. text-align: center;
  50. padding: 11px 10px;
  51. display: inline-block;
  52.  
  53. /* visual do link */
  54. background-color: #ff4d33;
  55. color: #fff;
  56. text-decoration: none;
  57. }
  58.  
  59. </style>
  60. </head>
  61.  
  62. <body>
  63. <div id="lateral">
  64. <h1><b>Função que muda a imagem por click em javascript</b></h1>
  65. <h1><b>Clique e descubra qual o nome da escola</b></h1>
  66. <div class="centro">
  67. <img id="badranlove" src="interrogacao.png" style="width: 150px;">
  68. </div>
  69.  
  70. </div>
  71. <nav>
  72. <ul>
  73. <li><a href="#">TESTE</a></li>
  74.  
  75. <li><a href="#">TESTE</a></li>
  76.  
  77. <li><a href="#">TESTE</a></li>
  78.  
  79. <li><a href="#">TESTE</a></li>
  80. </ul>
  81. </nav>
  82. <script src="teste.js"></script>
  83. </body>
  84.  
  85. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement