123

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.

            
              <table id="mdmini">
  <thead>
    <tr>
      <th>Title</th>
      <th>Japan</th>
      <th>Asia</th>
      <th>EU/US</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Ecco the Dolphin</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Castlevania Bloodlines</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Space Harrier II</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Shining Force</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Dr. Robotnik's Mean Bean Machine</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>ToeJam & Earl</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Comix Zone</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Sonic the Hedgehog</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Altered Beast</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Gunstar Heroes</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Castle of Illusion</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>World of Illusion</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Thunder Force III</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Super Fantasy Zone</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Shinobi III</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Streets of Rage II</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Earthworm Jim</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Sonic the Hedgehog 2</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Contra: Hard Corps</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Landstalker</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>The Story of Thor</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Ghouls 'n Ghosts</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Alex Kidd in the Enchanted Castle</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Golden Axe</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Phantasy Star IV</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Street Fighter 2 Special Champion Edition</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Megaman The Wily Wars</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Sonic Spinball</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Vectorman</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Wonderboy in Monster World</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>The Revenge of Shinobi</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Puyo Puyo</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Puzzle & Action: Tant-R</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Alien Soldier</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Musha Aleste</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Game no Kanzume (Sega Games Can)</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Sword of Vermilion</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Wrestleball</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Outrun 2019</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Puyo Puyo Tsuu</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Party Quiz Mega Q</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Yuu Yuu Hakusho Makyou Toitsusen</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Dyna Brothers 2</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>The Hybrid Front</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Madoh Monogatari I</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Rent A Hero</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
      <td class="no">N</td>
    </tr>
	
	<tr>
      <td>Columns</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Monster World IV</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Dynamite Headdy</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Assault Suit Leynos</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Langrisser II</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Alisia Dragoon</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Road Rash 2</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Slap Fight MD</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Snow Bros.: Nick & Tom</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Lord Monarch: Tokoton Sentou Densetsu</td>
      <td class="yes">Y</td>
      <td class="no">N</td>
      <td class="no">N</td>
    </tr>
	<tr>
      <td>Darius</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Tetris</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Strider</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Virtua Fighter 2</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Kid Chameleon</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Light Crusader</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Eternal Champions</td>
      <td class="no">N</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
    </tr>
	<tr>
      <td>Shining Force II</td>
      <td class="no">N</td>
      <td class="yes">Y</td>
      <td class="no">N</td>      
    </tr>
  </tbody>
</table>
            
          
!
            
              
#mdmini_wrapper {
	margin: 20px auto; 
	max-width: 700px;
}
#mdmini {
	margin: 0 auto;
	
  thead {
    tr {
      th {
				text-transform: uppercase;
        padding: 5px 15px;
				text-align: center;
        border-right: 1px solid #ccc;
        &:first-child {
          text-align: left;
        }
			}
    }
     
  }
	tbody {
		tr {
			counter-increment: row-num;
			td {
				padding: 5px 15px;
				text-align: center;
        border-right: 1px solid #ccc;
        &:first-child {
          text-align: left;
        }
			}
			
			td {
				border-bottom: 1px solid #ccc;
        &:last-child {
           border-right: none;
        }
			}
			.no {
				background: #ea0119; color: #fff;
			}
			.yes {
				background: #01a149; color: #fff;
			}
			td:first-child::before {
				content: counter(row-num) ". ";
			}
			&:last-child td {
          border-bottom: none;
      }
		}
	}	
}
#mdmini_filter {
  input {
    border: 1px solid #ccc;
    padding: 5px;
  }
}
            
          
!
            
              $(document).ready(function() {
  var table = $('#mdmini').DataTable({ 
      dom: "ft",
    'iDisplayLength': -1,
     columns: [
            { width: "55%", },
            { width: "15%" },
            { width: "15%" },
            { width: "15%" }
     ],
    });
});
            
          
!
999px
🕑 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.

Console