Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <h1 id="headline">Realizar orçamento</h1>
<div id="container">
  
  <form>    
    <label>Nome</label>
    <input type="text" name="nome" placeholder="Digite aqui seu nome">
    
    <label>E-mail</label>
    <input type="text" name="mail" placeholder="Digite aqui seu E-mail">
    
    <label>Como nos conheceu?</label>
    <select name="channel">
      <option>Escolha uma opção</option>
      <option value="google">Pesquisa no Google</option>
      <option value="social">Redes sociais</option>
      <option value="amigo">Indicação de amigo</option>
    </select>
    
    <label>Quais serviços tem interesse?</label>
    <p>
      <input type="checkbox" name="service" value="site" id="site" checked> 
      <label class="label2" for="site">Criação de site</label>
    </p>
    
    <p>
      <input type="checkbox" name="service" value="social" id="social"> 
      <label class="label2" for="social">Gestão de rede social</label>
    </p>
    
    <p>
      <input type="checkbox" name="service" value="email" id="email"> 
      <label class="label2" for="email">E-mail marketing</label>
    </p>
    
    <label>Possui identidade visual?</label>
    <p>
      <input type="radio" name="design" value="s" id="sim">
      <label class="label2" for="sim"> Sim</label>
    </p>
    
    <p>
      <input type="radio" name="design" value="n" id="nao">
      <label class="label2" for="nao"> Não</label>
    </p>
    
    <label>Fale um pouco sobre seu projeto:</label>
    <textarea name="about">
    </textarea>
    
    <input type="submit" value="Enviar orçamento">
  </form>
</div>

              
            
!

CSS

              
                body{
  background: #085f63;
}

#headline{
  text-align: center;
  color: #fff;
  margin-top: 30px;
}

#container{
  width: 400px;
  background: #f1f1e6;
  margin: auto;
  margin-top: 30px;
}

form{
 margin: 0 20px;
  padding-top: 30px;
}

input[type="text"], select, textarea, input[type="submit"]{
  width: 360px;
  height: 40px;
  border-radius: 4px;
  border: solid 1px #999;
  margin: 5px 0 20px;
  padding-left: 5px;
}

textarea{
  height: 100px;
}

input[type="submit"]{
  background: #5abf7e;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}

label{
  font-weight: bold;
}

.label2{
  font-weight: normal;
}
              
            
!

JS

              
                
              
            
!
999px

Console