fork download
  1. /* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do botão submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do botão submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no botão ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no botão ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formulário de Login e Registro com HTML5 e CSS3
  2. Login
  3. Seu gmail:
  4.  
  5. Sua Senha:
  6.  
  7. Manter-me logado
  8.  
  9. Ainda não tem conta? Cadastre-se
  10. Cadastro
  11. Seu nome
  12.  
  13. Seu e-mail
  14.  
  15. Sua senha
  16.  
  17. Já tem conta? Ir para Login
  18. function logar(){ var email = document.getElementById("nome_login"); var senha = document.getElementById("email_login");
  19. if(email.value == "admin@admin.com" && senha.value == "admin"){
  20. localStorage.setItem("acesso", true);
  21. alert("Usuario Autenticado com sucesso!")
  22. window.location.href = "Pesoideal.html";
  23. }else{
  24. alert("Usuario ou senha invalidos!")
  25. }
  26. }
  27.  
  28. input { font-family: sans-serif; font-size: 16px; color: #333; } body { margin: 0; height: 100vh; padding: 0; border: 0; background: rgb(48, 46, 56); } .form { background-color: rgb(191, 166, 217); height: 380px; width: 420px; border-radius: 8px; margin: 20px auto 20px auto; display: block; box-shadow: 0 0 40px 0 rgb(26, 0, 0); } .linha-um { padding: 20px; } .linha-dois { padding: 20px; } .linha-tres { padding: 20px; } .text-input { width: 220px; height: 30px; border-radius: 10px; background-color: #ffffff; border: none; outline: none; padding: 5px 10px; cursor: pointer; } .text-input:last-child { margin-bottom: 35px; } .text-input:hover { background-color: #c5b5b5; } #calcular { border: none; border-radius: 10px; height: 40px; width: 360px; background-color: #8a5454; color: rgb(255, 255, 255); margin: auto; display: block; outline: none; cursor: pointer; } #calcular:hover { background-color: #13501b; } .text { display: inline-block; margin: 5px 20px 5px 8px; ; } .linha-um { padding: 30px 20px 15px 40px; } .linha-dois { padding: 15px 20px 20px 40px; } .linha-tres { padding: 15px 20px 30px 40px; } .container { display: inline-block; position: relative; padding-left: 30px; cursor: pointer; user-select: none; } .container input { position: absolute; opacity: 0; } .checkmark { position: absolute; top: 0; left: 0; height: 25px; width: 25px; background-color: #ffffff; border-radius: 50%; }
  29. h1 { font-size: 30px; font-weight: 300; text-align: center; color: #292828; padding-top: 15px; display: block; }
  30.  
  31. h2 { font-size: 22px; font-weight: 300; text-align: justify; padding-left: 30%; }
  32.  
  33. h3 { font-size: 24px; font-weight: 300; text-align: center; padding: 15px; }
  34.  
  35. h3 b { font-size: 32px; font-weight: 300; color: #832e2e; }
  36.  
  37. .button { background-color: #ffffff; border: none; color: white; padding: 10px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; position: absolute; left: 34%;
  38.  
  39. }
  40.  
  41. .button1 { border-radius: 10px; width: 23%; height: 6%; }
  42.  
  43. .button1:hover { background-color: #b3b3b3; }
  44.  
  45. #cadastro { background-color: rgb(161, 161, 161); height: 320px; width: 420px; border-radius: 8px; margin: 20px auto 20px auto; display: block;
  46.  
  47. box-shadow: 0 0 40px 0 rgb(56, 22, 22);
  48. }
  49.  
  50. .container:hover input~.checkmark { background-color: #c5b5b5; }
  51.  
  52. .container input:checked~.checkmark { background-color: #13501b; }
  53.  
  54. .checkmark:after { content: ""; position: absolute; display: none; }
  55.  
  56. .container input:checked~.checkmark:after { display: block; }
  57.  
  58. .container .checkmark:after { left: 9px; top: 5px; width: 5px; height: 10px; border: solid rgb(204, 204, 204); border-width: 0 2px 2px 0; transform: rotate(45deg); } Peso ideal
  59.  
  60. <h1>Calculadora do peso Ideal</h1>
  61. <h2>O peso ideal é uma avaliação importante que,
  62. além de ajudar a pessoa a perceber <br>se está acima ou abaixo do peso,
  63. também pode previnir complicações<br> como obesidade, diabetes ou até mesmo a desnutrição,
  64. que acontece<br> quando a pessoa está muito abaixo do peso.
  65. </h2>
  66. <h2>Para saber o intervalo de peso considerado ideal para um adulto, insira os dados na calculadora:</h2>
  67.  
  68. <form class="form" id="form" onvalidar="return validarform()">
  69.  
  70. <div class="linha-um">
  71. <label class="container">
  72. <input type="radio" name="radio" id="f">
  73. <p class="text">Menino</p>
  74. <span class="checkmark"></span>
  75. </label>
  76. <label class="container">
  77. <input type="radio" name="radio" id="m">
  78. <p class="text">Menina</p>
  79. <span class="checkmark"></span>
  80. </label>
  81. </div>
  82.  
  83. <div class="linha-dois">
  84. <input type="text" class="text-input" id="idade" placeholder="Entre 1 e 18 anos" autocomplete="off"
  85. required />
  86. <p class="text">Idade</p>
  87. </div>
  88. <div class="linha-dois">
  89. <input type="text" class="text-input" id="altura" placeholder="Ex: 165" autocomplete="off" required>
  90. <p class="text">Altura (cm)</p>
  91. </div>
  92.  
  93. <div class="linha-tres">
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                 ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                            ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                           ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                      ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                                                                                 ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                                                                                                           ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                                                                                                                              ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                                                                                                                                                ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                                                                                                                                                                    ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                                                                                                                                                                                           ^
Main.java:1: error: illegal character: '#'
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                                                                                                                                                                                                  ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                                                                                                                                                                                                           ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                                                                                                                                                                                                                                  ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); } p{ margin-bottom:15px; } .content p:first-child{ margin: 0px; } label{ color: #405c60; position: relative; } /* placeholder */ ::-webkit-input-placeholder { color: #bebcbc; font-style: italic; } input:-moz-placeholder, textarea:-moz-placeholder{ color: #bebcbc; font-style: italic; } input { outline: none; } /*estilo dos input, menos o checkbox */ input:not([type="checkbox"]){ width: 95%; margin-top: 4px; padding: 10px; border: 1px solid #b2b2b2; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; } /*estilo do bot?o submit */ input[type="submit"]{ width: 100%!important; cursor: pointer; background: rgb(61, 157, 179); padding: 8px 5px; color: #fff; font-size: 20px; border: 1px solid #fff; margin-bottom: 10px; text-shadow: 0 1px 1px #333; -webkit-border-radius: 5px; border-radius: 5px; transition: all 0.2s linear; } /*estilo do bot?o submit no hover */ input[type="submit"]:hover{ background: #4ab3c6; } .link{ position: absolute; background: #e1eaeb; color: #7f7c7c; left: 0px; height: 20px; width: 440px; padding: 17px 30px 20px 30px; font-size: 16px; text-align: right; border-top: 1px solid #dbe5e8; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .link a { font-weight: bold; background: #f7f8f1; padding: 6px; color: rgb(29, 162, 193); margin-left: 10px; border: 1px solid #cbd518; -webkit-border-radius: 4px; border-radius: 4px; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .link a:hover { color: #39bfd7; background: #f7f7f7; border: 1px solid #4ab3c6; } #cadastro, #login{ position: absolute; top: 0px; width: 88%; padding: 18px 6% 60px 6%; margin: 0 0 35px 0; background: #f7f7f7; border: 1px solid rgba(147, 184, 189,0.8); -webkit-box-shadow: 5px; border-radius: 5px; -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; animation-duration: 0.5s; animation-timing-function: ease; animation-fill-mode: both; } /* Efeito ao clicar no bot?o ( Ir para Login ) */ #paracadastro:target ~ .content #cadastro, #paralogin:target ~ .content #login{ z-index: 2; -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; -webkit-animation-delay: .1s; animation-delay: .1s; } /* Efeito ao clicar no bot?o ( Cadastre-se ) */ #registro:target ~ .content #login, #paralogin:target ~ .content #cadastro{ -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } /*fadeInLeft*/ @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /*fadeOutLeft*/ @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); } } @keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } } Formul?rio de Login e Registro com HTML5 e CSS3
                                                                                                                                                                                                                                                                                                                                                                                                 ^
Main.java:1: error: class, interface, or enum expected
/* CSS reset */ *, *:before, *:after { margin:0; padding:0; font-family: Arial,sans-serif; } /* remove a linha dos links */ a{ text-decoration: none; } /* esconde as ancoras da tela */ a.links{ display: none; } .content{ width: 500px; min-height: 560px; margin: 0px auto; position: relative; } h1{ font-size: 48px; color: #066a75; padding: 2px 0 10px 0; font-family: Arial,sans-serif; font-weight: bold; text-align: center; padding-bottom: 30px; } h1:after{ content: ' '; display: block; width: 100%; height: 2px; margin-top: 10px; background: -webkit-linear-gradient(
stdout
Standard output is empty