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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

            
              <link href='https://fonts.googleapis.com/css?family=Open+Sans:700italic,400,300,700' rel='stylesheet' type='text/css'>
<div class="plyr_holder">  
  <div class="plyr_img animated bounceInDown">
    <img src="http://www.avatarsdb.com/avatars/eminem_hand.jpg">
  </div>  
  <div class="plyr_details">    
    <ul>      
      <li>
      <h1 class="title">Love the way you lie</h1>
      </li>      
      <li class="song">Encore
      </li>      
      <li class="album">Eminem
      </li>    
    </ul>    
  </div>  
  <div class="plyr_control">    
    <ul>      
      <li>
      <a class="pleft"></a>
      </li>      
      <li>
      <a class="pplay"></a>
      </li>      
      <li>
      <a class="pright"></a>
      </li>      
      <li>
      <div class="ptime">        	
        <span class="pslider">        	
        </span>        
        <span class="pslider_dot">
        </span>         
      </div>      
      </li>      
      <li>
      <a class="pvolume"></a>
      </li>      
      <li>
      <a class="pfull"></a>
      </li>           
    </ul>           
  </div>
</div>
            
          
!
            
              body {
	background: url(https://subtlepatterns.com/patterns/tileable_wood_texture.png);
	font-family: 'Open Sans', sans-serif;
	margin: 80px auto;
	min-height: 400px;
}
.plyr_holder {
	width: 400px;
	position: relative;
	margin: 0px auto;
}
.plyr_img {
	position: absolute;
	width: 100px;
	height: 100px;
	overflow: hidden;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	box-shadow: 0 0 0 6px rgba(255,255,255,1),     0 0 0 7px rgba(0,0,0,0.1),    0 2px 0 6px rgba(255,255,255,1),    0 3px 0 6px rgba(0,0,0,0.1),    0 0 8px 7px rgba(0,0,0,0.2);
	z-index: 999;
	overflow: hidden;
	top: -34px;
	left: 22px;
}
.plyr_details {
	position: absolute;
background: rgb(255,255,255);
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2YzZjNmMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iI2VkZWRlZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(243,243,243,1) 50%, rgba(237,237,237,1) 51%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(50%,rgba(243,243,243,1)), color-stop(51%,rgba(237,237,237,1)), color-stop(100%,rgba(255,255,255,1)));
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%);
background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%);
background: linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
width: 400px;
	height: 100px;
	z-index: 998;
	border: 1px  solid rgba(0,0,0,0.23);
	box-shadow: inset 0 1px 1px 0px rgba(255,255,255,1),     inset 0 0 8px 5px rgba(0,0,0,0.05),    0 0 8px 0 rgba(0,0,0,0.2);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.plyr_details ul {
	margin: 0;
	padding: 0;
	position: absolute;
	list-style-type: none;
	left: 140px;
}
.plyr_details li {
}
.plyr_details li h1.title {
	font-size: 22px;
	font-weight: 700;
	color: #46565d;
	text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
	line-height: 13px;
}
.plyr_details li.song {
	color: #526269;
	font-size: 13px;
	text-shadow: 1px 1px 0px rgba(255,255,255,0.8)
}
.plyr_details li.album {
	color: #1268b1;
	font-size: 11px;
	text-shadow: 1px 1px 0px rgba(255,255,255,0.8)
}
.plyr_control {
	position: absolute;
	background: rgb(81,81,81);
	background: url(data: image/svg+xml;
	base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUxNTE1MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(81,81,81,1) 0%, rgba(0,0,0,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(81,81,81,1)), color-stop(100%,rgba(0,0,0,1)));
	background: -webkit-linear-gradient(top,  rgba(81,81,81,1) 0%, rgba(0,0,0,1) 100%);
	background: -o-linear-gradient(top,  rgba(81,81,81,1) 0%, rgba(0,0,0,1) 100%);
	background: -ms-linear-gradient(top,  rgba(81,81,81,1) 0%, rgba(0,0,0,1) 100%);
	background: linear-gradient(top,  rgba(81,81,81,1) 0%, rgba(0,0,0,1) 100%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#515151', endColorstr='#000000',GradientType=0 );
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	width: 400px;
	height: 50px;
	top: 90px;
	z-index: 999;
	border: 1px  solid rgba(0,0,0,0.1);
	box-shadow: inset 0 1px 0px 0px rgba(255,255,255,0.5),     inset 0 0 8px 3px rgba(0,0,0,0.3),    0 0 8px 0 rgba(0,0,0,0.2);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.plyr_control ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.plyr_control li {
	float: left;
	cursor: pointer;
}
.plyr_control ul li a.pleft {
	background: url(http://picbox.im/image/cb9bb873c7-control.png) no-repeat 3px 17px;
	height: 50px;
	width: 22px;
	display: inline-block;
	margin-left: 5px;
}
.plyr_control ul li a.pplay {
	background: url(http://picbox.im/image/cb9bb873c7-control.png) no-repeat -17px 17px;
	height: 50px;
	width: 18px;
	display: inline-block;
	margin-left: 5px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.plyr_control ul li a.pplay:hover {
	background: url(http://picbox.im/image/cb9bb873c7-control.png) no-repeat -30px 17px;
	height: 50px;
	width: 18px;
	display: inline-block;
	margin-left: 5px;
}
.plyr_control ul li a.pright {
	background: url(http://picbox.im/image/cb9bb873c7-control.png) no-repeat -45px 17px;
	height: 50px;
	width: 22px;
	display: inline-block;
	margin-left: 5px;
}
.plyr_control ul li a.pvolume {
	background: url(http://picbox.im/image/cb9bb873c7-control.png) no-repeat -71px 17px;
	height: 50px;
	width: 22px;
	display: inline-block;
	margin-left: 15px;
}
.plyr_control ul li a.pfull {
	background: url(http://picbox.im/image/cb9bb873c7-control.png) no-repeat -96px 17px;
	height: 50px;
	width: 22px;
	display: inline-block;
	margin-left: 115px;
}
.plyr_control ul li a.pinfo {
	background: url(http://picbox.im/image/cb9bb873c7-control.png) no-repeat -120px 17px;
	height: 50px;
	width: 22px;
	display: inline-block;
	margin-left: 95px;
}
.ptime {
	display: inline-block;
	height: 50px;
	width: 130px;
	position: relative;
}
.pslider {
	background: rgb(18,108,184);
	background: url(data: image/svg+xml;
	base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzEyNmNiOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2NmExZTciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(left,  rgba(18,108,184,1) 0%, rgba(102,161,231,1) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(18,108,184,1)), color-stop(100%,rgba(102,161,231,1)));
	background: -webkit-linear-gradient(left,  rgba(18,108,184,1) 0%, rgba(102,161,231,1) 100%);
	background: -o-linear-gradient(left,  rgba(18,108,184,1) 0%, rgba(102,161,231,1) 100%);
	background: -ms-linear-gradient(left,  rgba(18,108,184,1) 0%, rgba(102,161,231,1) 100%);
	background: linear-gradient(left,  rgba(18,108,184,1) 0%, rgba(102,161,231,1) 100%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#126cb8', endColorstr='#66a1e7',GradientType=1 );
	border-radius: 25px;
	box-shadow: inset 0 1px 0px 0px rgba(255,255,255,0.5),     inset 0 0 8px 3px rgba(0,0,0,0.1),    0 0 0 1px rgba(0,0,0,1),    0 1px 0px 1px rgba(255,255,255,0.3);
	cursor: pointer;
	height: 6px;
	position: absolute;
	width: 120px;
	-webkit-appearance: none;
	-webkit-transition: .15s;
	display: block;
	top: 22px;
	left: 10px;
}
.pslider_dot {
	position: absolute;
	width: 6px;
	height: 6px;
	background: rgb(102,161,231);
	background: url(data: image/svg+xml;
	base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiM2NmExZTciIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMTI2Y2I4IiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-radial-gradient(center, ellipse cover,  rgba(102,161,231,1) 0%, rgba(18,108,184,1) 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(102,161,231,1)), color-stop(100%,rgba(18,108,184,1)));
	background: -webkit-radial-gradient(center, ellipse cover,  rgba(102,161,231,1) 0%, rgba(18,108,184,1) 100%);
	background: -o-radial-gradient(center, ellipse cover,  rgba(102,161,231,1) 0%, rgba(18,108,184,1) 100%);
	background: -ms-radial-gradient(center, ellipse cover,  rgba(102,161,231,1) 0%, rgba(18,108,184,1) 100%);
	background: radial-gradient(center, ellipse cover,  rgba(102,161,231,1) 0%, rgba(18,108,184,1) 100%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#66a1e7', endColorstr='#126cb8',GradientType=1 );
	box-shadow: 0 0 0 3px rgba(255,255,255,1),     0 -1px 1px 3px rgba(0,0,0,0.3),    0 0 0 6px rgba(255,255,255,1),    0 0px 5px 7px rgba(0,0,0,0.3);
	top: 22px;
	left: 50px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}
/*
Animate.css - https://daneden.me/animate
LICENSED UNDER THE  MIT LICENSE (MIT)

Copyright (c) 2012 Dan Eden

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

.animated {
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;
	-ms-animation-duration: 1s;
	-o-animation-duration: 1s;
	animation-duration: 1s;
}

.animated.hinge {
	-webkit-animation-duration: 2s;
	-moz-animation-duration: 2s;
	-ms-animation-duration: 2s;
	-o-animation-duration: 2s;
	animation-duration: 2s;
}

@-webkit-keyframes bounceInDown {
	0% {
		opacity: 0;
		-webkit-transform: translateY(-2000px);
	}
	
	60% {
		opacity: 1;
		-webkit-transform: translateY(30px);
	}
	
	80% {
		-webkit-transform: translateY(-10px);
	}
	
	100% {
		-webkit-transform: translateY(0);
	}
}

@-moz-keyframes bounceInDown {
	0% {
		opacity: 0;
		-moz-transform: translateY(-2000px);
	}
	
	60% {
		opacity: 1;
		-moz-transform: translateY(30px);
	}
	
	80% {
		-moz-transform: translateY(-10px);
	}
	
	100% {
		-moz-transform: translateY(0);
	}
}

@-ms-keyframes bounceInDown {
	0% {
		opacity: 0;
		-ms-transform: translateY(-2000px);
	}
	
	60% {
		opacity: 1;
		-ms-transform: translateY(30px);
	}
	
	80% {
		-ms-transform: translateY(-10px);
	}
	
	100% {
		-ms-transform: translateY(0);
	}
}

@-o-keyframes bounceInDown {
	0% {
		opacity: 0;
		-o-transform: translateY(-2000px);
	}
	
	60% {
		opacity: 1;
		-o-transform: translateY(30px);
	}
	
	80% {
		-o-transform: translateY(-10px);
	}
	
	100% {
		-o-transform: translateY(0);
	}
}

@keyframes bounceInDown {
	0% {
		opacity: 0;
		transform: translateY(-2000px);
	}
	
	60% {
		opacity: 1;
		transform: translateY(30px);
	}
	
	80% {
		transform: translateY(-10px);
	}
	
	100% {
		transform: translateY(0);
	}
}

.bounceInDown {
	-webkit-animation-name: bounceInDown;
	-moz-animation-name: bounceInDown;
	-ms-animation-name: bounceInDown;
	-o-animation-name: bounceInDown;
	animation-name: bounceInDown;
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console