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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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="main-content">
	<div class="container">
     <div id="opening-hours">
							<td><span>Open gym</span><br>07.00-10.00</td>
							<td><span>Open gym</span><br>07.00-10.00</td>
							<td><span>Open Gym</span><br>07.00-10.00</td>
							<td><span>Open Gym</span><br>10.00-12.00</td>
							<td class="closed"></td>
							<td class="closed"></td>
							<td class="closed"></td>
							<td><span>Open gym</span><br>17.00-20.30</td>
							<td><span>Open gym</span><br>19.30-20.30</td>
							<td><span>Open gym</span><br>17.30-20.30</td>
							<td><span>Open gym</span><br>19.00-20.30</td>
							<td class="closed"></td>
							<td class="closed"></td>
							<td class="closed"></td>


                @import bourbon

$primary-color: #4444FF
$link-color: #0E5BE2

html, body
  position: relative
  display: table
  height: 100%
  width: 100%

  font-size: 14px

  max-width: 1200px
  margin-left: auto
  margin-right: auto
  padding: 0 15px

  position: relative
  padding: 40px 15px


    @media only screen and (max-width: 775px)
      overflow-x: scroll
      width: 100%
      margin: 0
      min-width: 745px
      border-collapse: collapse
      border-spacing: 0 !important

      thead tr th, tbody tr td
        padding: 0 7px
        text-align: center

      thead tr th
        background: $primary-color
        border: 1px solid $primary-color
        color: #FFF
        height: 60px
        width: 14.28571428571429%
        text-transform: uppercase
        font-weight: 900
        letter-spacing: .1em

      tbody tr td
        background: #FFF
        border: 1px solid #DFDFDF
        height: 80px
        width: 14.28571428571429%

      td span
        color: $link-color
        font-weight: 500

        background: #AAA
        border: none

      tbody tr:nth-of-type(3) td:nth-of-type(5), tbody tr:nth-of-type(3) td:nth-of-type(6), tbody tr:nth-of-type(3) td:last-of-type
        border-bottom: 1px solid #999

      tbody tr:first-of-type td:last-of-type, tbody tr:nth-of-type(2) td:last-of-type, tbody tr:nth-of-type(3) td:last-of-type
        border-right: 1px solid #999