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 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

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

              
                aside#feedback
  form(method="", action="")#feedback-form.clearfix
    fieldset
      legend Напишіть мені
      p
        input(type="text", placeholder="ПІБ", required)#name-input
        label(for="name-input").require-input ваше ім'я
      p
        input(type="email", name="email", placeholder="example@mail.com")#email-input
        label(for="email-input") електронна пошта
      p
        input(type="text", name="phone", placeholder="+380123654891", equired)#phone-input
        label(for="phone-input").require-input номер телефону
      p
        textarea(type="text", rows="10", name="message", placeholder="...", equired)#message-input
        label(for="message-input").require-input ваше повідомлення
      p
        button(type="submit") надіслати
              
            
!

CSS

              
                #feedback
  box-sizing: border-box
  box-shadow: 5px 10px 20px black
  min-height: 200px
  width: 100%
  background-color: #fff
  border-radius: 0 20px 20px 0
  background-color: #bfbfbf
  background-image: url('./assets/pexels-photo-375303.jpg')
  background-size: cover
  overflow: hidden
  padding: 0
  form
    background-color: rgba(#ffffff, .95)
    text-align: center
    margin: 0
    padding: 1rem
    box-sizing: border-box
    width: 50%
    fieldset
      border: none
      legend
        font-size: 22px
        font-weight: bold
        text-align: center
        text-transform: uppercase
        margin-bottom: 2rem
        color: white
        background-color: black
        padding: .2rem 2.3rem
        cursor: default
      p
        position: relative
        padding-top: 35px
        margin-bottom: 2rem
        label
          white-space: nowrap
          position: absolute
          top: 0
          left: 0
          text-align: left
          cursor: pointer
          display: block
          clear: both
          text-transform: capitalize
          font-size: 20px
          font-weight: bold
          color: rgb(111, 110, 110)
          &.require-input
            &::after
              content: '*'
        input
        textarea
          resize: vertical
        input, textarea
          color: rgb(46, 46, 46)
          outline: none
          border: none
          border-bottom: 1px solid #777777
          text-align: left
          padding: .5rem 1rem
          width: 100%
          max-width: 100%
          box-sizing: border-box
          background-color: transparent
          font-size: 14px
          &:focus
            box-sizing: border-box
            margin-top: .5rem
            transform: scale(1.05)
            border: 1px solid black
            border-radius: 2px
            &+label
              margin-left: 100%
              transform: translateX(-100%)
              font-weight: bold
              color: rgb(228, 105, 128)
              transition: margin-left 1s, transition 2s ease-in-out 5s

        button
          border-radius: 5px
          float: right
          outline: none
          padding: 1rem
          font-size: 16px
          text-transform: uppercase
          background-color: rgb(228, 105, 128)
          color: white
          border: none
          cursor: pointer
          &:active
            cursor: default
            background-color: rgb(228, 105, 128)
          &:hover
            background-color: rgb(228, 138, 155)

              
            
!

JS

              
                
              
            
!
999px

Console