Pen Settings



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


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


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.


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.


                <link rel="preconnect" href=""> 
<link href=";700&display=swap" rel="stylesheet">

<section class="outerwrap">
   <div class="innerwrap">
      <form action="demo.html" id="demo" name="demo" method="get">

		<legend>Contact Information</legend>
			<dt><label for="fname">First Name</label></dt>
			<dd><input type="text" id="fname" name="fname" value="First Name" onfocus="this.value='';"/></dd>

			<dt><label for="fname">Password</label></dt>
			<dd><input type="password" id="pwd" name="pwd" value="" /></dd>
			<dd><textarea cols="30" rows="3" name="feedback">Type your comments here...</textarea></dd>
			<dt>Favorite Class</dt>
			<dd><input type="radio" name="favclass" id="vc238" value="VC238" /> <label for="vc238">VC238 Web Design 2</label><br />
				<input type="radio" name="favclass" id="vc114" value="VC114" /> <label for="vc114">VC114 Intro to Dig. Graphics</label><br />
				<input type="radio" name="favclass" id="vc284" value="VC284" /> <label for="vc284">VC284 Portfolio</label><br />
			<dt>Favorite Classes</dt>
			<dd><input type="checkbox" name="favclass" id="vc238x" value="VC238" /> <label for="vc238x">VC238 Web Design 2</label><br />
				<input type="checkbox" name="favclass" id="vc114x" value="VC114" /> <label for="vc114x">VC114 Intro to Dig. Graphics</label><br />
				<input type="checkbox" name="favclass" value="VC284x" /> VC284 Portfolio<br />
			<dd><select name="state" id="state" size="1">
		<option value="#">Select a State...</option>
		<option value="#">----------</option>
		<option value="AL">Alabama</option>
		<option value="AK">Alaska</option>
		<option value="AZ">Arizona</option>
		<option value="AR">Arkansas</option>
		<option value="CA">California</option>
		<option value="CO">Colorado</option>
		<option value="CT">Connecticut</option>
		<option value="DE">Delaware</option>
		<option value="FL">Florida</option>
		<option value="GA">Georgia</option>
		<option value="HI">Hawaii</option>
		<option value="ID">Idaho</option>
		<option value="IL">Illinois</option>
		<option value="IN">Indiana</option>
		<option value="IA">Iowa</option>
		<option value="KS">Kansas</option>
		<option value="KY">Kentucky</option>
		<option value="LA">Louisiana</option>
		<option value="ME">Maine</option>
		<option value="MD">Maryland</option>
		<option value="MA">Massachusetts</option>
		<option value="MI">Michigan</option>
		<option value="MN">Minnesota</option>
		<option value="MS">Mississippi</option>
		<option value="MO">Missouri</option>
		<option value="MT">Montana</option>
		<option value="NE">Nebraska</option>
		<option value="NV">Nevada</option>
		<option value="NH">New Hampshire</option>
		<option value="NJ">New Jersey</option>
		<option value="NM">New Mexico</option>
		<option value="NY">New York</option>
		<option value="NC">North Carolina</option>
		<option value="ND">North Dakota</option>
		<option value="OH">Ohio</option>
		<option value="OK">Oklahoma</option>
		<option selected value="OR">Oregon</option>
		<option value="PA">Pennsylvania</option>
		<option value="PR">Puerto Rico</option>
		<option value="RI">Rhode Island</option>
		<option value="SC">South Carolina</option>
		<option value="SD">South Dakota</option>
		<option value="TN">Tennessee</option>
		<option value="TX">Texas</option>
		<option value="UT">Utah</option>
		<option value="VT">Vermont</option>
		<option value="VA">Virginia</option>
		<option value="WA">Washington</option>
		<option value="DC">Washington DC</option>
		<option value="WV">West Virginia</option>
		<option value="WI">Wisconsin</option>
		<option value="WY">Wyoming</option>
		<option value="CN-AB">Canada - Alberta</option>
		<option value="CN-BC">Canada - British Columbia</option>
		<option value="CN-PE">Canada - Prince Edward Is.</option>
		<option value="CN-MB">Canada - Manitoba</option>
		<option value="CN-NB">Canada - New Brunswick</option>
		<option value="CN-NF">Canada - Newfoundland</option>
		<option value="CN-NT">Canada - Northwest Territories</option>
		<option value="CN-NS">Canada - Nova Scotia</option>
		<option value="CN-NV">Canada - Nunavut</option>
		<option value="CN-ON">Canada - Ontario</option>
		<option value="CN-PQ">Canada - Quebec</option>
		<option value="CN-SK">Canada - Saskatchewan</option>
		<option value="CN-YT">Canada - Yukon</option>
		<option value="NNA">Other (not USA or Canada)</option>

		<dd><input type="submit" value="Submit »" /></dd>


                @media screen and (max-width: 520px) {  }

body { background-color: white; }
img, embed, object, video { max-width: 100%; }

*, dt, dd, input, legend, p, label {
   font-family: 'Open Sans', sans-serif;

.outerwrap {
   width: 100%;
   margin: 0;
   clear: both;
   display: block;

.innerwrap {
   width: 94%;
   max-width: 68.75em;
   margin: 0 auto;
   display: block;

fieldset {
   margin: 2em;
   border: 2px solid #7E57C2;
   border-radius: .5em;
   background-color: #e5e5e5;
   box-shadow: 3px 3px 6px rgba(0,0,0,0.5);

legend {
   font-weight: 700;
   font-size: 1.5em;
   padding: .4em 1em;
   background-color: #311B92;
   color: white;
   border-radius: 1em;
   margin-left: 1.5em;

/* Form Parent */
form dl {
/*    border: 2px solid red; */
   display: flex;
   flex-wrap: wrap;
/*    align-items: center; */

form dt, form dd {
   padding: 1em .5em;
   border-bottom: 1px solid #ccc;

/* Left Side of Form */
form dt {
/*    border: 2px solid blue; */
   flex: 0 0 25%;
   text-align: right;
   font-weight: 700;

/* Right Side of Form */
form dd {
/*    border: 2px solid green; */
   flex: 0 0 75%;

input[type='text'], input[type='password'], textarea {

   font-size: 1.25em;
   font-weight: 300;
   padding: .3em .7em;
   border-radius: .2em;
   border: 0;
   border: 1px solid #ccc;
   color: #aaa;


input:focus, textarea:focus {
   background-color: #FFF9C4;
   border: 2px solid #aaa;
   color: black;

select, option {
   font-size: 3rem;
   color: red;

input[type='submit'] {
   font-size: 1.5em;
   padding: .2em 1em;
   border: 0;
   font-weight: 700;
   box-shadow: 3px 3px 6px rgba(0,0,0,.5);
   background-color: #311B92;
   color: white;
   border-radius: .4em;