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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

              <div class="container">

  <div class="calendar-container">

      <div class="day">18</div>
      <div class="month">August</div>


    <table class="calendar">






          <td class="prev-month">29</td>
          <td class="prev-month">30</td>
          <td class="prev-month">31</td>


          <td class="current-day">18</td>


          <td class="next-month">1</td>



    <div class="ring-left"></div>
    <div class="ring-right"></div>

  </div> <!-- end calendar-container -->

</div> <!-- end container -->
              body {
	background: #ccc;
	font: 87.5%/1.5em 'Lato', sans-serif;
	margin: 0;

table {
	border-collapse: collapse;
	border-spacing: 0;

td {
	padding: 0;

.container {
  left: 50%;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);

.calendar-container {
	position: relative;
	width: 450px;

.calendar-container header {
	border-radius: 1em 1em 0 0;
	background: #e66b6b;
	color: #fff;
	padding: 3em 2em;

.day {
	font-size: 8em;
	font-weight: 900;
	line-height: 1em;

.month {
	font-size: 4em;
	line-height: 1em;
	text-transform: lowercase;

.calendar {
	background: #fff;
	border-radius: 0 0 1em 1em;
	-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, .2), 0 3px 1px #fff;
	box-shadow: 0 2px 1px rgba(0, 0, 0, .2), 0 3px 1px #fff;
	color: #555;
	display: inline-block;
	padding: 2em;

.calendar thead {
	color: #e66b6b;
	font-weight: 700;
	text-transform: uppercase;

.calendar td {
	padding: .5em 1em;
	text-align: center;

.calendar tbody td:hover {
	background: #cacaca;
	color: #fff;

.current-day {
	color: #e66b6b;

.next-month {
	color: #cacaca;

.ring-right {
	position: absolute;
	top: 230px;

.ring-left { left: 2em; }
.ring-right { right: 2em; }

.ring-right:after {
	background: #fff;
	border-radius: 4px;
	-webkit-box-shadow: 0 3px 1px rgba(0, 0, 0, .3), 0 -1px 1px rgba(0, 0, 0, .2);
	box-shadow: 0 3px 1px rgba(0, 0, 0, .3), 0 -1px 1px rgba(0, 0, 0, .2);
	content: "";
	display: inline-block;
	margin: 8px;
	height: 32px;
	width: 8px;

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................