Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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

              
                .work-with-us
  .form
    h1 ADEPT
    h2 We love people! 
    h2 Reach out and let's make something.
    form
      label for="name" FIRST AND LAST NAME
      input#name type="text" 
      label for="company-name" POSITION HELD
      input#company-name type="text"
      label for="work-email" WORK EMAIL
      input#work-email type="text"
      label for="project-idea" HOW CAN WE WORK TOGETHER
      textarea#project-idea rows="4"
      button type="button" SUBMIT
  .illustration
    img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/38816/flame-education-1.png"
    .link-rollup
      h2 Partner
      h1 partner@adeptnfk.com
      h2 Feature Us
      h1 feature@adeptnfk.com
      h2 Anything Else
      h1 hello@adeptnfk.com
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,700|Spartan:400,700&display=swap')

$font-color: #042C4C
$primary-accent: #F74005
$font-family-sans-serif: 'Spartan', sans-serif
$font-family-serif:  'Roboto Slab', serif
$font-size-form: 18px

*
  margin: 0
  padding: 0
  box-sizing: border-box

body
  background: #04ABE3

.work-with-us
  display: grid
  grid-template-areas: "form illustration"
  grid-template-columns: 2fr 1.25fr
  max-width: 1000px
  background: white
  margin: 0 auto
  
.form
  grid-area: form
  padding: 50px 50px
  
  & h1
    font-size: 28px
    margin-bottom: 100px
    font-weight: normal
    font-family: $font-family-sans-serif
    
  & h2
    font-size: 28px 
    line-height: 40px
    font-family: $font-family-serif
  
  & form
    margin-top: 100px
    
  & label, input, textarea, button
    display: block
    outline: none
    font-family: $font-family-sans-serif
    font-size: $font-size-form
    width: 100%
      
  & label, input
    border: 0
    height: 40px 
    line-height: 40px
      
  & label
      
  & input
    border-bottom: 2px solid #000
    margin-bottom: 40px
      
  & textarea
    line-height: 40px 
    border: 2px solid #000
    margin-bottom: 20px
    resize: none
    padding: 5px 
    
  & input, textarea
    &:focus
        border-color: $primary-accent
        color: $primary-accent
    
      
  & button
    height: 50px
    width: 150px
    line-height: 50px
    border: 2px solid #000
    background: #000
    color: #fff
    transition: .2s all ease-in-out
    
    &:hover
      background: #fff
      color: #000
      font-weight: bold
   
  
.illustration
  padding-top: 100px
  grid-area: illustration
  
  & h1
    font-family: $font-family-serif
    font-size: 28px
    font-weight: normal
    margin-bottom: 40px
    transition: .2s all ease-in-out
    
    &:hover
      text-decoration: underline
    
  & h2
    font-family: $font-family-sans-serif
    font-size: 18px
    font-weight: normal
    margin-bottom: 20px
  
  & img
    width: 100%
    
  & .link-rollup
    padding: 145px 0 50px 20px
  

              
            
!

JS

              
                
              
            
!
999px

Console