css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <button id='updateTransform'>Update Transform</button>
<button id='updateScale'>Update Scale</button>

<div id='wrapper' class="renderer-spread-rect" draggable="false" unselectable="on" style="transition-property: transform; -webkit-transition-property: transform; transform-origin: 0px 0px 0px; transform: translate(-10px, -10.91182861328px) scale(1); transition-duration: 0ms; -webkit-transition-duration: 0ms;">
<div id="x42309"  draggable="false" unselectable="on"  style="width:309.92133333333334px;height:839.0533333333333px;-webkit-font-feature-settings:'kern' 1;-webkit-transform:matrix(1,0,0,1,68.032,5.2);-webkit-transform-origin: 0 0px;font-size:21.333333333333332px;"><svg width="309.92133333333334" height="839.0533333333333"><g id='viewboxGroup' class="viewbox" transform="translate(0 0)"><g class="background-color"></g><g class="content"><rect class="whitespace blank-line" data-li="2" y="49.397333333333336" width="0" height="20.426666666666666"></rect><text class="eol" data-li="2" data-vtn="1" y="65.43066666666667" style="font-family: 'Open Sans';font-size:15px;font-weight:bold;fill:#234663;">1) The Designs Gallery</text><text data-li="3" x="36" y="90.736" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">You can see all the document templates and that </text><text data-li="4" x="36" y="110.34533333333333" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">are available when you purchase the product by </text><text data-li="5" x="36" y="129.95466666666667" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">moving your mouse pointer over the ‘Designs </text><text class="eol" data-li="6" x="36" y="149.564" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">Gallery’ label on the right side of the window.</text><rect class="whitespace blank-line eol" data-li="7" x="36" y="156.3466666666667" width="0" height="16.341333333333335"></rect><text data-li="8" x="36" y="188.78266666666667" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">The Designs Gallery content is separated into </text><text data-li="9" y="208.392" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">folders, open a folder by clicksing the.folder icon or </text><text data-li="10" y="228.00133333333332" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">double-clicking the folder name. Items shown in blue </text><text class="eol" data-li="11" y="247.61066666666667" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">folders can be opened and tho after purchase. </text><rect class="whitespace blank-line eol" data-li="12" y="254.39333333333337" width="0" height="16.341333333333335"></rect><text data-li="13" y="286.82933333333335" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">Move the mouse pointer over the left end of the Color </text><text data-li="14" y="306.4386666666667" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">line at the bottom of the screen and right-click on any </text><text data-li="15" y="326.048" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">of the square color patches. Select ‘Edit’ to display the </text><text data-li="16" y="345.6573333333333" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">color editor, and you can now edit your document’s </text><text data-li="17" y="365.26666666666665" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">theme or ‘named’ colors. You might notice the header, </text><text data-li="18" y="384.876" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">footer, even the text headings always remain shades of </text><text class="eol" data-li="19" y="404.48533333333336" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">the color you choose.</text><text class="eol" data-li="20" data-vtn="8" x="51.61066666666667" y="424.0946666666667" style="font-family: 'Open Sans';font-size:12px;fill:#404040;"> link</text><rect class="whitespace eol embedded" data-li="21" y="430.8773333333333" width="132.92133333333334" height="99.15866666666666"></rect><text data-li="22" y="542.8626666666667" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">Click the big T icon on the left set of tools (the Text </text><text data-li="23" y="562.472" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">Tool). Now click on any text and start editing. Try </text><text data-li="24" y="582.0813333333333" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">editing this text, or the white headings at the top of this </text><rect class="whitespace eol embedded" data-li="25" y="588.8639999999999" width="30.001333333333335" height="28.001333333333335"></rect><rect class="whitespace blank-line eol" data-li="26" y="616.8653333333333" width="0" height="16.341333333333335"></rect><text data-li="27" y="649.3013333333333" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">When using the Text Tool, the top bar (called the </text><text data-li="28" y="668.9106666666667" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">InfoBar) allows you to change font, size, Style. The ABC </text><text data-li="29" y="688.52" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">icon is a spell checker control. Text editing is like any </text><text class="eol" data-li="30" y="708.1293333333333" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">word processor, for example, drag to select text.</text><rect class="whitespace blank-line eol" data-li="31" y="714.9119999999999" width="0" height="16.341333333333335"></rect><text class="eol" data-li="32" y="750.5546666666667" style="font-family: 'Open Sans';font-size:15px;font-weight:bold;fill:#234663;">4) Re-arrange your objects</text><text data-li="33" y="775.86" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">Now let’s try some object moving and resizing. Choose </text><text data-li="34" y="795.4693333333333" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">the Selector Tool (the large arrow at the top) and drag </text><text class="eol" data-li="35" y="815.0786666666667" style="font-family: 'Open Sans';font-size:12px;fill:#404040;">on the photo on this page. See how the text flows </text></g></g></svg></div>
updateTransform.addEventListener('click', function() {
  viewboxGroup.setAttribute('transform', 'translate(10, 10)');

updateScale.addEventListener('click', function(){
  wrapper.style.transform = 'scale('+ Math.random().toFixed(3)+ ')';

🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................