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.


                <!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="style.css">
  <title>Flexbox Pricing Table</title>

  <div class="pricing-table">

    <!-- PLAN 1 -->
    <div class="plan plan1">

      <p>Light it up here.</p>
      <ul class="features">
        <li>5 Users</li>
        <li>5GB Space</li>
        <li>20 Email Accounts</li>

      <p class="price">$30</p>

      <a href="#" class="cta">Order Now</a>

    <!-- PLAN 2 -->
    <div class="plan plan2">

      <p>Get your standard deal here. This plan has got you covered in all areas. Make the right decision by clicking on the button.</p>
      <ul class="features">
        <li>10 Users</li>
        <li>10GB Space</li>
        <li>30 Email Accounts</li>

      <p class="price">$50</p>

      <a href="#" class="cta">Order Now</a>

    <!-- PLAN 3 -->
    <div class="plan plan3">

      <p>The best plan here.</p>
      <ul class="features">
        <li>20 Users</li>
        <li>20GB Space</li>
        <li>50 Email Accounts</li>

      <p class="price">$80</p>

      <a href="#" class="cta">Order Now</a>



                * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	background-image: linear-gradient(260deg, #2eac23 0%, #6ecccf 100%);

a {
	color: #fff;

.plan ul {
	list-style: none;

.plan ul li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding: 10px;

.plan ul li:last-child {
	border-bottom: 0;

.plan a {
	text-decoration: none;
	background: #008cff;
	padding: 10px;
	color: #333;
	border-radius: 4px;

.plan a:hover {
	background: #0077ff;

.plan h2 {
	font-size: 2rem;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 2px;
	text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);

.price {
	font-size: 1.8rem;
	margin: 10px 0;

.pricing-table {
	font-size: 1rem;
	max-width: 750px;
	margin: 0 auto;
	display: flex;
	align-items: center;

.plan {
	background: rgba(255, 255, 255, 0.2);
	margin: 20px;
	padding: 20px;
	border-radius: 4px;
	text-align: center;
	flex: 1;
	display: flex;
	flex-wrap: wrap;

.plan > * {
	flex: 1 1 100%;

.plan .cta {
	align-self: flex-end;