HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
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.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<!-- CodePen project -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family=Tangerine">
<div class='container-fluid'>
<h1 class="text-center">Tribute to Buster Keaton</h1></div></div>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="well-lg">
<FIGURE><img id="photo" src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c2/Busterkeaton_edit.jpg/220px-Busterkeaton_edit.jpg" alt="Buster Keaton"><figcaption>Joseph Frank "Buster" Keaton</figcaption></FIGURE>
<p>Silent Film Comedy star Joseph Frank "Buster" Keaton. Started his acting as a small child working with his parents in vaudeville, where his father would throw him around the stage, starting his career in prat falls. While well known in vaudeville circuits it was the movies that made him famous.</p>
<p>In February 1917, Keaton met Roscoe "Fatty" Arbuckle, another famous silent film comedy star, at the Talmadge Studios in New York City, where Arbuckle was under contract to Joseph M. Schenck. Buster's father disapproved of films, and Buster also had reservations about the medium. During his first meeting with Arbuckle, he asked to borrow one of the cameras to get a feel for how it worked. He took the camera back to his hotel room, dismantled and reassembled it. With this rough understanding of the mechanics of the moving pictures, he returned the next day, camera in hand, asking for work. He was hired as a co-star and gag man, making his first appearance in The <em>'Butcher Boy'</em>. Keaton later claimed that he was soon Arbuckle's second director and his entire gag department. He appeared in a total of 14 Arbuckle shorts, running into 1920. They were popular and, contrary to Keaton's later reputation as <em>"The Great Stone Face"</em>, he often smiled and even laughed in them.</p>
<p> Of the hundreds of shorts and feature film length here's a list of some of the most memorable films:</p>
<h3>Short Films:</h3>
<ul>
<li>April 23, 1917 - The Butcher Boy </li>
<li>June 25, 1917 - The Rough House; Writer, Director</li>
<li>August 20, 1917 - His Wedding Night</li>
<li>September 30, 1917 - Oh Doctor!</li>
<li>October 29, 1917 - Coney Island</li>
<li>December 10, 1917 - A Country Hero</li>
<li>January 20, 1918 - Out West</li>
<li>March 18, 1918 - The Bell Boy</li>
<li>May 13, 1918 - Moonshine</li>
<li>July 6, 1918 - Good Night, Nurse!</li>
<li>September 15, 1918 - The Cook</li>
<li>September 7, 1919 - Back Stage</li>
<li>October 26, 1919 - The Hayseed</li>
<li>January 11, 1920 - The Garage</li>
<li>September 1, 1920 - One Week; Writer, Director</li>
<li>October 27, 1920 - Convict 13; Writer, Director</li>
<li>December 22, 1920 - Neighbors; Writer, Director</li>
<li>December 22, 1920 - The Scarecrow; Writer, Director</li>
<li>February 10, 1921 - The Haunted House; Writer, Director</li>
<li>March 14, 1921 - Hard Luck; Writer, Director</li>
<li>April 12, 1921 - The High Sign; Writer, Director</li>
<li>May 18, 1921 - The Goat; Writer, Director</li>
<li>October 6, 1921 - The Playhouse; Writer, Director</li>
<li>January 1922 - The Paleface; Writer, Director</li>
<li>March 1922 - Cops; Writer, Director</li>
<li>May 1922 - My Wife's Relations; Writer, Director</li>
<li>July 21, 1922 - The Blacksmith; Writer, Director</li>
<li>August 28, 1922 - The Frozen North; Writer, Director</li>
<li>October 1922 - The Electric House; Writer, Director</li>
<li>November 1922 - Daydreams; Writer, Director</li>
<li>January 22, 1923 - The Balloonatic; Writer, Director</li>
<li>March 1923 - The Love Nest; Writer, Director</li>
</ul></br>
<h3>Educational Pictures:</h3>
<ul>
<li>March 16, 1934 - The Gold Ghost</li>
<li>May 25, 1934 - Allez Oop</li>
<li>January 11, 1935 - Palooka from Paducah</li>
<li>February 22, 1935 - One Run Elmer</li>
<li>March 15, 1935 - Hayseed Romance </li>
<li>May 3, 1935 - Tars and Stripes</li>
<li>August 9, 1935 - The E-Flat Man </li>
<li>October 25, 1935 - The Timid Young Man</li>
<li>January 3, 1936 - Three on a Limb </li>
<li>February 21, 1936 - Grand Slam Opera</li>
<li>August 21, 1936 - Blue Blazes </li>
<li>October 9, 1936 - The Chemist</li>
<li>November 20, 1936 - Mixed Magic</li>
<li>January 8, 1937 - Jail Bait </li>
<li>February 12, 1937 - Ditto</li>
<li>March 26, 1937 - Love Nest on Wheels</li>
</ul></br>
<h3>Columbia Pictures:</h3>
<ul>
<li>June 16, 1939 - Pest from the West</li>
<li>August 11, 1939 - Mooching Through Georgia</li>
<li>January 19, 1940 - Nothing But Pleasure</li>
<li>March 22, 1940 - Pardon My Berth Marks</li>
<li>June 28, 1940 - The Taming of the Snood</li>
<li>September 20, 1940 - The Spook Speaks</li>
<li>December 13, 1940 - His Ex Marks the Spot</li>
<li>February 21, 1941 - So You Won't Squawk</li>
<li>September 18, 1941 - General Nuisance</li>
<li>November 20, 1941 - She's Oil Mine</li>
</ul></br>
<h3>Independent Producers</h3>
<ul>
<li>October 15, 1952 - Paradise for Buster</li>
<li>October 2, 1965 - The Railrodder</li>
<li>January 8, 1966 - Film</li>
<li>January 8, 1966 - The Scribe</li>
</ul>
<p> His most known movie <em>'The General'</em> was made in 1926. </p>
<p>Keaton has two stars on the Hollywood Walk of Fame: 6619 Hollywood Boulevard (for motion pictures); and 6321 Hollywood Boulevard (for television).</p>
<p class="link">To read more go to <a href="https://en.wikipedia.org/wiki/Buster_Keaton"target="_blank">Wikipedia</a></p>
</div></div>
</div></div></div>
</div>
<p ID="footer">Page created by Lynn Amacher</p>
<p ID="footer">Information from this page was gathered from <a href="https://en.wikipedia.org/wiki/Buster_Keaton"target="_blank">Wikipedia</a></p>
body {
background-image: URL("https://i.ytimg.com/vi/UWEjxkkB8Xs/maxresdefault.jpg");
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
h1 {
font-size: 150 px;
}
.text-center {
font-weight: 500;
color: white;
align: center;
font-size: 124px;
Margin: 100px 0px 600px 0px;
font-family: 'Tangerine', serif;
font-size: 150px;
background-image: URL("https://i.ytimg.com/vi/UWEjxkkB8Xs/maxresdefault.jpg") text-shadow: 4px 4px 4px #aaa
}
.well-lg {
background-color: white;
border-radius: 10px;
padding: 5px;
align: center;
}
.well-sm {
background-color: #999888;
}
#photo {
box-shadow: 0 0 4px 2px #999999;
border: 0px;
}
figure {
float: right;
width: 30%;
text-align: center;
font-style: italic;
font-size: smaller;
text-indent: 0;
margin: 0.5em;
padding: 0.5em;
}
p {
font-family: Helvetica, sans-serif;
font-size: 14pt;
}
ul {
font-size: 16px;
background-color: #f2f3f4;
margin: 10px;
width: 700px;
position: relative;
}
.link {
text-align: center;
font-style: italic;
}
#footer {
font-size: 9px;
text-align: center;
color: white;
}
Also see: Tab Triggers