Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

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.


                <div id="pay-container">
    <div class="thumb-button">Thumb Here</div>


                body {
  background-color: blue;

#pay-container {
	position: absolute;
	left: 400px;
	top: 100px;
	margin: 0px;

.ring {
	position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
	background-color: transparent;
  box-shadow: 0px 0px 100px 0px rgba(0,0,0,0.1);

.thumb-button {
	position: absolute;
  top: 20px;
  left: 10px;
  border: 1px dashed white;
  width: 60px;
  height: 60px;
  color: white;
  text-align: center;
  z-index: 1000;


                var makeCircles = (function(){

	var options = {
		num : 12, // Number of circles to draw
		width :  80, // Width of first, innermost, circle.
		height :  100, // Height of first, innermost, circle.
		widthAccumalator : 20, // Additional pixels to add on to each subsequent circle
		heightAccumalator : 20

	var id = 0;
	var containerDiv = document.getElementById('pay-container');
	var border = 1;
	var leftIncrement = (options['widthAccumalator']/2); // Make sure it's positive
	var left = 0;
	var topY = 0;
	var a2z = "abcdefghijklmnopqrstuvwxyz"; // Create unique id for the concentric circles
	var alphabet = a2z.split('');
	function init(user_options){
		// Replace defaults with user supplied values
		for (key in user_options)
			options[key] = user_options[key];

		var currentWidth = options['width'];
		var currentHeight = options['height'];

		// Create divs
		for(var i = 0; i< options['num']; i++){

			var div = document.createElement('div');

			div.className = 'ring'; = currentWidth + 'px'; = currentHeight + 'px'; = "ring-" + alphabet[i];

			// Set left and top offsets = '-' + left + 'px'; = '-' + topY + 'px';

			// Increment vars
			currentWidth += options['widthAccumalator'];
			currentHeight += options['heightAccumalator'];
			left += leftIncrement;
			topY += leftIncrement;
	return {
		init : init

var elements = ['#ring-a', '#ring-b', '#ring-c', '#ring-d', '#ring-e', '#ring-f', '#ring-g', '#ring-h', '#ring-i', '#ring-j', '#ring-k', '#ring-l']
function rippleOutward(elements) {
  var rippleOutward = new TimelineLite();
  rippleOutward.staggerTo(elements, 1.8, 
  	{repeat: -1, css:{borderColor: 'rgba(255, 255, 255, 0.8)', borderWidth:'4px'}, ease: Power3.easeInOut, y: 0 }, 0.1);

$(document).ready(function() {

$(".thumb-button").click(function() {