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 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.

Quick-add: + add another resource

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.

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="notepad" contenteditable>
Hi friend,<br>
I created an editable notepad with a single element of HTML
and just a pinch of CSS magic ✨<br>
I hope you like it, it was a lot of fun to make.<br>
Best wishes,<br>
  P.S. Feel free to edit this message 😁
              @import url('https://fonts.googleapis.com/css?family=Kaushan+Script');

html, body { height: 100%; }
body {
  margin: 0;
  display: flex;
  perspective: 1000;
  background: linear-gradient(to bottom right, dodgerblue 50%, darken(dodgerblue, 5%) 50%);

.notepad {
  margin: auto;
  overflow: auto;
  height: 80vmin;
  width: 60vmin;
  border-radius: 1.5em;
  padding: 0 2.5em;
  font-size: 1.125em;
  line-height: 2.25em;
  transform: skew(20deg) rotateY(10deg) rotateZ(-10deg) scale(0.9);
  font-family: 'Kaushan Script', cursive;
    linear-gradient(to bottom right, rgba(black, 0), rgba(black, 0.15)),
    linear-gradient(to right, rgba(deeppink, 0) 1.875em, deeppink 1.875em, rgba(deeppink, 0) 2em) bottom left,
    linear-gradient(to bottom, rgba(cyan, 0) 1.5em, cyan 1.5em, rgba(cyan, 0) 1.625em) bottom left,
  background-size: auto, auto, 2em;
    -0.125em 0.125em #d4d4d4,
    -0.25em 0.25em #ddd,
    -0.375em 0.375em #d4d4d4,
    -0.5em 0.5em #ddd,
    -0.625em 0.625em #d4d4d4,
    -0.75em 0.75em #ddd,
    -0.875em 0.875em #d4d4d4
  &:focus {
    outline: none;
Loading ..................