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.

              <a class="Link" href="#">
  <span class="Link-title">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Laudantium sequi est similique natus alias. Velit provident corrupti asperiores maxime saepe aliquam atque laboriosam. Id incidunt iusto ea, voluptates velit sed?</span>
body {
  height: 100%;

body {
  align-items: center;
  display: flex;
  justify-content: center;

a, a:focus, a:hover, a:active, a:visited {
  color: inherit;
  text-decoration: none;

.Link {
  filter: drop-shadow(0 1em 1em rgba(#000, .16));
  font-size: 1rem;
  max-width: 25em;
  padding: 2em 2.4em;
  position: relative;
  transform: translateZ(0);

.Link::after {
  background-color: #fff;
  border-radius: 3px;
  content: ' ';
  display: block;
  position: absolute;
  transform-origin: right;
  transition: transform 500ms;
  width: 100%; height: 100%;
  top: 0; left: 0;
  z-index: -1;

.Link::after {
  background-color: #444;
  transform: scaleX(0);
  transition-duration: 450ms;

.Link-title {
    linear-gradient(0deg, #ddd, #000),
    linear-gradient(0deg, #fff, #fff),
  background-size: 0 2px, 0 100%;
  background-position: 8px calc(1em + 8px), 0 0;
  background-repeat: no-repeat;
  box-decoration-break: clone;
  display: inline;
  font-size: 30px;
  font-weight: 300;
  padding: 6px 8px;
  margin-left: -8px;
  pointer-events: none;
  line-height: 1.75; 
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff;
  transition: background ease-out 500ms;

.Link:hover > .Link-title {
  background-size: calc(100% - 16px) 2px, 100% 100%;
  transition-duration: 200ms;

.Link:hover::before {
  transform: scaleX(0);
  transition-duration: 450ms;
  transition-timing-function: ease-in-out;

.Link:hover::after {
  transform:  scaleX(1);
  transition-duration: 700ms;
  transition-timing-function: ease-in-out;
  transform-origin: left;

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