Pen Settings



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


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.


                <div class="container">
  <div class="podcast">
    <h3 class="podcast__episode_title">Debugging Tools + Tips</h3>
    <h5 class="podcast__title">
      <i>Episode 152</i>

    <div class="podcast__meta">
      <audio controls width="100%">
  <source src="">
  Your browser does not support the audio tag.
      <a href="#" class="artwork">
 <img src="" alt="">


.container {
  width: 800px;
  margin: 30px auto;

.mejs {
  &__container {
    margin-top: 10px;
  &__controls {
    display: block;
  &__controls, &__container {
    background: none !important;
  &__time {
    color: #777;
    font-weight: normal;

.podcast {
  background: #f0f0f0;
  padding: 30px;
  border-radius: 3px;
  &__episode_title {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
    color: #333;
  &__title {
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 11px;
    color: #555;
    i {
      font-style: normal;
      font-weight: normal;
      text-transform: capitalize;
      margin-left: 10px;
  &__meta {
    background: #ddd;
    margin: 40px -30px -30px -30px;
    padding: 0 30px 30px 30px;
    display: flex;
    justify-content: space-between;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
      .artwork {
        margin-right: 0;
        transform: translateY(-70px);
        >img {
          border-radius: 3px;
          width: 150px;
          height: 150px;
          box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.1);
          margin-bottom: -80px;

.mejs-prepended-buttons {
  display: flex

.mejs-appended-buttons {
  display: flex;
  justify-content: space-evenly;

.mejs__play > button {
  background: transparent url('') no-repeat;

.mejs__pause > button {
  background: transparent url('') no-repeat;
  background-position: -20px 0;

.mejs__mute > button {
    background: transparent url('') no-repeat;
  background-position: -60px 0;

.mejs__unmute > button {
      background: transparent url('') no-repeat;
  background-position: -40px 0;

.mejs__skip-back-button>button {
   background: transparent url('');

.mejs-jump-forward-button>button, .mejs__jump-forward-button>button {
  background: url('') no-repeat;

.mejs__button > button {
  color: #555;

.mejs__horizontal-volume-slider {
  display: none !important;



                "use strict";

const options = {
  defaultSpeed: '1.00',
  speeds: ['1.25','1.50', '2.00', '0.75'],
  loop: true,
  skipBackInterval: 15,
  jumpForwardInterval: 15,
  features: [

new MediaElementPlayer(

// Separate the audio controls so I can style them better.
(() => {
	const elementTop = document.createElement('div');
  const elementBottom = document.createElement('div');

	const controls = document.querySelector('.mejs__controls');
	const controlsChildren = Array.from(controls.childNodes).filter(v => v.className.startsWith("mejs_"));

  controlsChildren.slice(0, 3).forEach(elem => {
  controlsChildren.slice(3, controlsChildren.length).forEach(elem => {