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.


  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <link rel="stylesheet" type="text/css" href="">

  <a href="#" class="btnripple2"><span></span></a>


                @charset "utf-8";

/*== 背景共通設定 */
body {
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("");
  object-fit: cover;

/*== 無限に波紋が広がる */

.btnripple2 {
  position: relative;
  display: inline-block;
  background: #ff0000;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  color: #ccc;
  outline: none;
  transition: all 0.3s;

.btnripple2:hover {
  background: #bb0000;

.btnripple2::before {
  content: "";
  position: absolute;
  left: -25%;
  top: -25%;
  border: 1px solid #ff0000;
  width: 150%;
  height: 150%;
  border-radius: 50%;
  opacity: 1;
  animation: 1s circleanime linear infinite;

.btnripple2::before {
  animation-delay: 0.5s;

@keyframes circleanime {
  0% {
    transform: scale(0.68);
  100% {
    transform: scale(1.2);
    opacity: 0;

.btnripple2 span::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 45%;
  border: 16px solid transparent;
  border-top-width: 10px;
  border-bottom-width: 10px;
  border-left-color: #fff;

/*========= レイアウトのためのCSS ===============*/

body {
  vertical-align: middle;
  padding: 100px 0;
  text-align: center;

p {
  margin: 0 0 10px 0;