Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

HTML

              
                article.ff-vinyl-album
  article.ff-vinyl-sleeve
  article.ff-vinyl-disc
              
            
!

CSS

              
                /* 
============================ 
	"Hipster Vinyls"
	by: Anders Schmidt Hansen (@lichine)
============================
*/

* { 
	position: relative;
  box-sizing: border-box;
  z-index: 1;
}

html {
	background: url(http://s17.postimage.org/dmjozoqen/natural_paper.png);
  height: 100%;
}

body {
 	height: 100%;
  width: 100%;
  background: transparent;
}



.ff-vinyl-album {
 .makeSquare(150px);
 background: transparent;
  
  & > .ff-vinyl-sleeve {
    .makeSquare(100%);
    background: url(@dummyCover) center center no-repeat;
    background-size: cover;
    
    border-radius: 4px;
    position: absolute;
    z-index: 9999;
    overflow: hidden;
 		cursor: pointer;
    
    box-shadow: 0 0 4px 1px rgba(0,0,0, .15);
    
    &:hover:after {
      content: "▹";
      color: white;
      font-size: 3rem;
      text-align: center;
      padding-top: 3rem;
      position: absolute;
      top: 0; left: 0;
      background: rgba(0,0,0, .65);
      .makeSquare(100%);
      text-shadow: 0 0 1px #222;
      border-radius: 4px;
    }
  }
  
  .has-stop:hover:after { content: "▧"; }
  
  & > .ff-vinyl-disc {
   		.makeSquare(15px);
      position: absolute;
    
    	/* Creating a realistic vinyl disc is fonz :3 */
    	box-shadow: 
      	0 0 0 10px white
      , 0 0 0 20px darken(#222, 5%)
      , 0 0 0 25px lighten(#222, 0%)
      , 0 0 0 26px lighten(#222, 2%)
      , 0 0 0 30px lighten(#222, 0%)
      , 0 0 0 31px lighten(#222, 2%)
      , 0 0 0 35px lighten(#222, 0%)
      , 0 0 0 36px lighten(#222, 2%)
      , 0 0 0 40px lighten(#222, 0%)
      , 0 0 0 41px lighten(#222, 2%)
      , 0 0 0 45px lighten(#222, 0%)
      , 0 0 0 46px lighten(#222, 2%)
      , 0 0 0 50px lighten(#222, 0%)
      , 0 0 0 51px lighten(#222, 2%)
      , 0 0 0 55px lighten(#222, 0%)
      , 0 0 0 56px lighten(#222, 2%)
      , 0 0 0 57px lighten(#222, 1%)
      , 0 0 0 58px lighten(#222, 2%)
      , inset 0 0 4px 2px rgba(0,0,0, .25)
      ;
    
    
      border-radius: 50%;
      left: 150px;
      top: 68px;
      right: 0; 
      bottom: 0;
      background: transparent;
      z-index: -1;
      
    	transition: -left 3s ease-in-out;
    
    	&:after {
        content: "•";
        position: absolute;
      	color: rgba(255,255,255, .15);
        right: -55px;
        top: -10px;
        font-size: 1.8rem;
      }
    }
}

.is-playing {
  animation: spin-record .2s infinite linear;
  left: 90px !important;
  transition: left 3s ease-in-out;
}

.fade-to-transparent {
  
  &:after {
    content: "";
    top: 0; left: 0;
    position: absolute;
    background: url(@stripes);
    width: 100%; height: 100%;
    z-index: 0;
  } 

}


.video { z-index: -1; width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
 
/* === Animations === */ 
@keyframes spin-record {
  from 	{ transform: rotate(0deg); 	}
  to 		{ transform: rotate(360deg);	}
}

@keyframes fade-to-transparent {
 from 	{ background:; }
  to 		{ background: transparent; } 
}

/* === LESS Functions === */
 
.makeSquare(@size){width: @size; height: @size;}


@stripes: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAADkl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J9KVFa/aWpT3WsnI+WYH+C2ZNEwXJJceS1h2WPOemXnRYPFadssMlQjmla2SdO9Zcd6UYwlNu1KXcFIuNUGMj0r6HIgdKcX+G1XrjVrFU/6Hn/AMUqe33uq/UxWvbsFy5fkd2H4gmNU8lXg2IU0AaZZqaWNgcbAucwga8tSFVODoP49ZBE04fh9w0D4QZ3eZW4WJYzcfA8oKXkqWOhLjz73Yf+sGe5KHQpx397sP8A1gz3K2SxNyyE4YlTh0J8efe6g/WDPcs+kpx397qD9PZ7lbFYtzSNwRKn/SU47trh1B+ns9y2OhXjv734f+ns9ytesR5pA4IlUD0KcdH/AGfQfp7PctfSV46+99B+ns9ytgsW5pG4IFUR0L8dAfB9B+ns9yX9Jfjrnh9Bb4+z3K1ayy3NIH48CqZ6F+Oj/s+g/T2e5Jb0KccNJIw+gud/r9nuVrli3NIP48SqY6FuOb/B9B+ns9yX9Jjjiw/0fQX7/L2+5WpWWW5pA/GgVY+k1xyBph9Bf4+z3JLuhnjl3+z6D9Pb7lalYtzyFWmxlVT0L8cgfB9Bf4+z3JA6FuOueH4f+ns9ytasW5pDfjQRVP6THHX3voP09nuWndC/HR2w+g/T2e5WtWLc0jfjQKnHoV47J0w6g/WDPctfSV47+99B+sGe5WyWIc0huCBUw9CnHdvg6g/WDPck/ST48+91B+sGe5W1WLcsjcMTwLoY6M+KOF+OmYrjlJSQ0baOeEujq2yHM/JbQfile+hYsSSk5MpGKiqR/9k%3D';


              
            
!

JS

              
                $('.ff-vinyl-sleeve').click ->
  $('body').toggleClass ('fade-to-transparent')
  $('.ff-vinyl-sleeve').toggleClass 'has-stop'
  
    
  if $('.ff-vinyl-disc').hasClass 'is-playing'
    $('.video').remove()
  else
    $('html').prepend('<iframe class="video" width="100%" height="100%" src="https://www.youtube.com/embed/WUTrNH60QWQ?rel=0&autoplay=1&wmode=transparent" frameborder="0" allowfullscreen></iframe>') 
  
  $('.ff-vinyl-disc').toggleClass 'is-playing'

$(window).resize ->
  $('.ff-vinyl-album').css({
    position: "absolute",
    left: ($(window).width() - $('.ff-vinyl-album').outerWidth()) / 2,
    top: ($(window).height() - $('.ff-vinyl-album').outerHeight()) / 2
    
  })

$(window).resize()



              
            
!
999px

Console