cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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 lang="en">

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Bernie Max Tribute Page</title>

  <div class="container" id="main">
    <div class="text-center">
      <h2 id="title">Bernard Jeffrey McCullough</h2>
      <h3>Better know as <i>Bernie Mac</i></h3>
      <h4>Oct 5, 1957 - Aug 9, 2008</h4>
      <div class="img-thumbnail" id="img-div">
        <img src="http://static6.bornrichimages.com/wp-content/uploads/s3/2013/08/berniemac_os4xj.jpg" alt="Bernie Mac" class="img-responsive" id="image">
        <div id="img-caption"><i>The greatest to ever do it</i></div>
        <p id="tribute-info" class="my-2">Bernie Mac's influences were from The Three Stooges and listening to stand-up comedians Richard Pryor and Redd Foxx. Mac started as a stand-up comedian in Chicago's Cotton Club. After he won the Miller Lite Comedy Search at the age of 32, his
          popularity as a comedian began to grow. A performance on HBO's Def Comedy Jam thrust him into the spotlight; after Martin Lawrence was unable to calm an increasingly hostile crowd, Mac went onstage and famously said, "I ain't scared o' you mothafuckas",
          telling the audience that he "didn't come here for no foolishness". Mac's comedy and fearlessness onstage cemented his reputation with fans and colleagues.</p>

        <p class="my-2">Mac was number 72 on Comedy Central's list of the 100 greatest standups of all time. On March 19, 2007, Mac told David Letterman on the CBS Late Show that he would retire from his 30-year career after he finished shooting the comedy film, The
          Whole Truth, Nothing but the Truth, So Help Me Mac. "I'm going to still do my producing, my films, but I want to enjoy my life a little bit", Mac told Letterman. "I missed a lot of things, you know. I was a street performer for two years. I
          went into clubs in 1977 and was on the road 47 weeks out of the year."</p>
      <h3>To learn more about this wonder life, <a href="https://en.wikipedia.org/wiki/Bernie_Mac" target="_blank">Click Here</a></h3>
  <footer class="text-center">
    Coded by Aaron M with information from <a href="https://en.wikipedia.org/wiki/Main_Page" id="tribute-link" target="_blank">Wikipedia.org</a>

              * {
  margin: 0;
  padding: 0;
  overflow-x: hidden;

body {
  background-color: #b5b3b2;

.container {
  padding: 0 5%;

footer {
  width: 100vw;
  background-color: black;
  color: white;
  padding: 8px;
  margin-top: 8px;

.img-responsive {
  display: block;
  max-width: 100%;
  margin: 0 auto;

.img-thumbnail {
  border: 1px solid grey;
  background-color: white;
  border-radius: 15px;
  padding: 8px 4px;
  margin: 10px 0;

.my-2 {
  margin: 15px 0;

.text-center {
  text-align: center;

🕑 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 ..................