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

              
                Flamingos
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/Flamingos_Laguna_Colorada.jpg/320px-Flamingos_Laguna_Colorada.jpg" alt="flamingos" />
Flamingos are famous for their bright pink feathers, stilt-like legs, and S-shaped neck. They’re also known for “running” on water, thanks to their webbed feet, to gain speed before lifting up into the sky.
You’ll find flamingos throughout the world’s warmer regions, near shallow lakes and lagoons. On the ground, flamingos fish while walking in shallow water and mud. When a flamingo spots potential dinner—favorite foods include shrimp, snails, and plantlike water organisms called algae—it plunges its head into the water, twists it upside down, and scoops the fish using its upper beak like a shovel.
Flamingo young are born white, with soft, downy feathers and a straight bill. The bill gradually curves downward as the flamingo matures.
FAST FACTS
A flamingo’s color varies depending on its diet.
There are five species (types) of flamingos.
Adult flamingos stand between three and six and a half feet tall.
Flamingos can live from 20 to 30 years in the wild.
Information from National Geographic Kids https://tinyurl.com/d4txdzq

              
            
!

CSS

              
                /**
 * Flamingo Sample
 */

body {
  font-family: sans-serif;
  font-size: 14px;
  padding: 50px;
  background: #333;
}

div {
  background: white;
  margin: 0 auto;
  width: 320px;
  padding:20px
}

              
            
!

JS

              
                
              
            
!
999px

Console