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

              
                <section>
  <header>
    <div class="flex flex-p--medium">
      <div class="flex_item size--2-of-3">
      <h1>Project Proposal Form</h1>
        </div>
      <div class="flex_item size--1-of-3"><div class="media">
     <div class="media_left label_title">Job Number:</div>
     <div class="media_body" contenteditable="true">001</div>
    </div></div>
      </div>
    </header>
  <div class="section-body">
    <div class="flex flex-p--medium">
      <div class="flex_item size--2-of-3">
   <div class="media">
     <div class="media_left label_title">Client Name</div>
     <div class="media_body" contenteditable="true"></div>
    </div>
    <div class="media">
     <div class="media_left label_title">Project Title</div>
     <div class="media_body" contenteditable="true"></div>
    </div>
    <div class="media">
     <div class="media_left label_title">Nature of Project</div>
     <div class="media_body" contenteditable="true"></div>
    </div>
      </div>
    <div class="flex_item size--1-of-3">
    <div class="media">
     <div class="media_left label_title">Date</div>
     <div class="media_body" contenteditable="true"></div>
    </div>
      </div>
    </div>
<table class="table table-fee" cellspacing="0">
  <col>
  <col>
  <colgroup span="4"></colgroup>
  <col>
  <thead>
    <tr>
      <th class="label_title">Nature <br>of <br>Project</th>
      <th class="label_title">Included <br>in <br>Project</th>
      <th class="label_title" colspan="4" scope="colgroup">Payment Schedule / Nature of Expenses</th>
      <th class="label_title">Fee</th>
    </tr>
    <tr>
    <td></td>
    <td></td>
    <th scope="col"><span>Before Start</span></th>
    <th scope="col"><span>Upon Completion</span></th>
    <td colspan="2"></td>
    <td></td>
  </tr>
  </thead>
  <tbody>
    <tr>
      <th rowspan="4" scope="rowgroup">Print Design</th> 
      <td>Design</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox" checked><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2">Description</td>
      <td contenteditable="true">$100.00</td>
    </tr>
    <tr>
      <td>Printing</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2"></td>
      <td contenteditable="true"></td>
    </tr>
    <tr>
      <td>Shipping</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2"></td>
      <td contenteditable="true"></td>
    </tr>
    <tr>
      <td>Reimbursables</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2"></td>
      <td contenteditable="true"></td>
    </tr>
    <tr>
      <th rowspan="3" scope="rowgroup">Web Design</th> 
      <td>Design</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2">Description</td>
      <td contenteditable="true">$100.00</td>
    </tr>
    <tr>
      <td>Development</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2"></td>
      <td contenteditable="true"></td>
    </tr>
    <tr>
      <td>Reimbursables</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2"></td>
      <td contenteditable="true"></td>
    </tr>
    <tr>
      <th rowspan="4" scope="rowgroup">Illustration</th> 
      <td>Illustration</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2">Description</td>
      <td contenteditable="true">$100.00</td>
    </tr>
    <tr>
      <td>Printing</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2"></td>
      <td contenteditable="true"></td>
    </tr>
    <tr>
      <td>Shipping</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2"></td>
      <td contenteditable="true"></td>
    </tr>
    <tr>
      <td>Reimbursables</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2"></td>
      <td contenteditable="true"></td>
    </tr>
    <tr>
      <th rowspan="2" scope="rowgroup">Technical Assistance</th> 
      <td>Web Updates</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2">Description</td>
      <td contenteditable="true">$100.00</td>
    </tr>
    <tr>
      <td>Miscellaneous</td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td class="checkbox"><label title="Printing Before Start"><input type="checkbox"><span>&bull;</span></label></td>
      <td contenteditable="true" colspan="2"></td>
      <td contenteditable="true"></td>
    </tr>
  </tbody>
  <tfoot>
    <tr>
      <td colspan="5" rowspan="2" scope="rowgroup">Reimbursables to be billed with a 10% mark-up unless otherwise stated. </td>
      <td class="text_right label_title">TAX</td>
      <td contenteditable="true">$21.00</td>
    </tr>
    <tr>
      <td class="text_right label_title">TOTAL</td>
      <td contenteditable="true">$421.00</td>
    </tr>
    <tfoot>
 </table>
  <div class="flex flex-p--medium">
      <div class="flex_item size--1-of-1">
<div class="media">
     <div class="media_left label_title">Project Plan</div>
     <div class="media_body" contenteditable="true"></div>
    </div>
        </div>
    </div>
  <p>Client agrees to the above stated schedule, plan, and charges. Any desired changes expressed by the client made following the commencement of the project will require compensation to the designer or illustrator, in addition to the payment of whatever cost are incurred to the designer or illustrator as a resutl of the client's change. Any additional work done by the designer not outlined in this form will be billed in addition to the expenses stated above. </p>
  <div class="flex flex-p--medium">
      <div class="flex_item size--2-of-3">
  <div class="media">
     <div class="media_left label_title">Client Signature</div>
     <div class="media_body" contenteditable="true"></div>
    </div>
  
  <div class="media">
     <div class="media_left label_title">Company</div>
     <div class="media_body" contenteditable="true"></div>
    </div>
  </div>

      <div class="flex_item size--1-of-3">
  <div class="media">
     <div class="media_left label_title">Date</div>
     <div class="media_body" contenteditable="true"></div>
    </div>
        </div>
  </div>
  <div class="flex flex-p--medium">
      <div class="flex_item size--2-of-3">
  <p>Please return a signed copy of this agreement to the address provided, you may keep a copy for your records. If you prefer to correspond via email simply send a short confirmation email to the email address provided. </p>
        </div>
    </div>
  </section>
              
            
!

CSS

              
                html, body {margin:0;font-family:sans-serif;background:beige;}
input[type="text"]{width:100%;border:0;}
header {background:gold;padding: 3em .75em 3em 3em;}
header .flex {margin:0;}
header .flex-p--medium .size--1-of-3 {border-bottom:3px solid black;padding:0;}
header .flex-p--medium .size--1-of-3 .media{margin:0;}
header .flex-p--medium .size--1-of-3 [contenteditable]{font-size:3em;border:0;line-height:.15em}
h1 {text-transform:uppercase;font-size:2em;margin:0;line-height:1}
.section-body {padding:2rem 3em;}
.table{width:100%;margin-bottom:2em;}
.table thead {background:green;color:beige;height:150px;}
.table thead th:not([scope="col"]), .table thead td {border-right:10px solid beige;}
.table thead th[scope="col"]{position:relative;}
.table thead th[scope="col"] span{border-bottom:1px solid beige;font-weight:normal; transform:rotate(-45deg);vertical-align:bottom;width:100px;font-size:.75em;display:inline-block;padding:.333em;position:absolute;left:calc(100% - 1.666em - 3px);bottom:calc(100% + 1.333em - 3px);}
.table thead th:last-child, .table thead td:last-child{border:0;}
.table th {vertical-align:top;text-align:left;}
.table tfoot tr:first-child td{border-top:3px solid #000;}
.table tbody th {font-weight:normal;}
.table td, table th, .checkbox {padding:.333em;}
.table-fee tbody td{border-left:1px solid #000;vertical-align:top;} 
.table-fee tbody tr:not(:first-child) td{border-top:1px solid #000;}
.table-fee tbody td:first-of-type {border-left:0;}
.table-fee tbody td:nth-of-type(2) {border-left-width:4px;}
.table-fee td:last-of-type {border-left-width:4px;text-align:right;}

.table-fee tr:not(:first-child) th[scope="rowgroup"], .table-fee tr:not(:first-child) th[scope="rowgroup"] + td, .table-fee tr:not(:first-child) th[scope="rowgroup"] + td + td, .table-fee tr:not(:first-child) th[scope="rowgroup"] + td + td + td, .table-fee tr:not(:first-child) th[scope="rowgroup"] + td + td + td + td, .table-fee tr:not(:first-child) th[scope="rowgroup"] + td + td + td + td + td{border-top:3px solid #000;}

.checkbox {padding:0;position:relative;font-size:2.5em;width:.5em;max-width:.5em;}
.checkbox label {position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;display: grid;place-items: center;cursor:pointer;line-height: .9em;}
.checkbox input[type="checkbox"] {position: absolute;left: -100vw;}
.checkbox input[type="checkbox"] + span{opacity:0;}
.checkbox:focus-within label{background:gold}
.checkbox input[type="checkbox"]:checked + span{opacity:1;}

.text_right {text-align:right;}
.label_title {font-weight:600;text-transform:uppercase;}

.media{display: flex;align-items: flex-start;margin-bottom:1em;}
.media_body{flex: 1;min-width: 0;padding:.25em}
.media_right{flex-shrink: 0;margin-left: 1rem;}
.media_left {margin-left: 0;margin-right: 1rem;padding:.25em 0 0 0}

/*------widths------*/
.size--1-of-1 {width:100%;}
.size--1-of-3 {width:33.333%;}
.size--2-of-3 {width:66.666%;}

/* flex utility */
.flex {padding: 0;margin: 0 0 1em;list-style: none;display: -webkit-box;display: -moz-box;display: -ms-flexbox;display: -webkit-flex;display: flex;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-flow: row wrap;flex-flow: row wrap;justify-content: flex-start;}
.flex .flex_item {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;float: left;/* for IE */position:relative;}

.flex-p--medium  {margin-left:-.75em;margin-right:-.75em;}
.flex-p--medium .flex_item {padding:.5em .75em;}



p{margin:0 0 1.5em;line-height:1.5em;}

[contenteditable]{font-family: courier}
[contenteditable].media_body{border-bottom:1px solid black;}
[contenteditable]:focus{background:gold;}

@media only screen and (max-width: 768px) {
  body{font-size:.7rem;}
  .table thead th[scope="col"] span{left:calc(100% - 2em - 3px);bottom:calc(100% + 2em - 3px);}
  
}
              
            
!

JS

              
                
              
            
!
999px

Console