Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <article id="likebtn">
  <div class="wpulike wpulike-default " >
    <div class="wp_ulike_general_class wp_ulike_is_not_liked">
      <a 	class="wp_ulike_btn wp_ulike_put_text">
        <span>いいね</span>
       </a>
      <span class="count-box">100+</span>			</div>
  </div>
</article>
              
            
!

CSS

              
                #likebtn {
	padding: 50px 0;

	text-align: center;
}
#likebtn .wp_ulike_general_class {
	position: relative;

	display: inline-block;

	width: 200px;
	height: 63px;
	margin: 0 auto; 
	padding-top: 40px;
}
#likebtn .wp_ulike_general_class a,#likebtn .wp_ulike_general_class button {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-ms-flex-align: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;

	width: 200px;
	height: 63px;

	-webkit-transition: all .2s;
	-webkit-transition: background-color .3s;
	        transition: all .2s;
	        transition: background-color .3s; 
	text-decoration: none;

	color: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(27, 198, 229, .85)), to(rgba(7, 100, 141, .85)));
	background: linear-gradient(to bottom, rgba(27, 198, 229, .85), rgba(7, 100, 141, .85));
	background-color: white;
}
#likebtn .wp_ulike_general_class a:hover,#likebtn .wp_ulike_general_class button:hover {
	color: white;
}
#likebtn .wp_ulike_general_class a:before,#likebtn .wp_ulike_general_class a:after,#likebtn .wp_ulike_general_class button:before,#likebtn .wp_ulike_general_class button:after {
	content: none;
}
#likebtn .wp_ulike_general_class a:hover,#likebtn .wp_ulike_general_class button:hover {
	background-color: #1d4c65;
}
#likebtn .wp_ulike_general_class .wp_ulike_btn {
	border-radius: 0;
}
#likebtn .wp_ulike_general_class .wp_ulike_btn.wp_ulike_click_is_disabled {
	background: #ccc;
}
#likebtn .wp_ulike_general_class .wp_ulike_btn span {
	font-size: 1.25rem;
	font-weight: bold;
	line-height: 63px; 

	color: #fff;
}
#likebtn .wp_ulike_general_class .wp_ulike_btn span:after {
  font-family: "Font Awesome 5 Free";
	font-style: normal;
	font-variant: normal;
  
  margin-left: 10px;

	content: "\f164";
}
#likebtn .wp_ulike_general_class .count-box {
	font-size: 14px;
	font-weight: bold;

	position: absolute;
	top: 0;
	left: calc(50% - 60px);

	padding: 2px 35px;

	color: #2aafea;
	border-radius: 10px;
	-webkit-box-shadow: 0 0 0 1px #707070 inset;
	        box-shadow: 0 0 0 1px #707070 inset;
}
#likebtn .wp_ulike_general_class .count-box:after {
	position: absolute;
	top: initial;
	bottom: -5px;
	left: 60%;

	width: 5px;
	height: 5px;
	margin: 0;

	content: "";
	-webkit-transform: rotate(45deg) translatey(-50%);
	        transform: rotate(45deg) translatey(-50%);

	border: 1px solid transparent;
	border-right-color: #707070;
	border-bottom-color: #707070;
	border-left-color: #fff; 
	background: #fff;
}
#likebtn .wp_ulike_general_class .count-box:before {
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	font-variant: normal;
	line-height: 1;

	position: relative;
	top: initial;
	bottom: initial;
	left: initial;

	display: inline-block;

	width: inherit;
	height: inherit;
	margin: 0;
	margin-right: 10px; 

	content: "\f118";
	-webkit-transform: inherit;
	        transform: inherit;

	border: none;
	border-right-color: none;
	border-bottom-color: none;
	border-left-color: none;
	background: none;

	-webkit-font-smoothing: antialiased;
	text-rendering: auto;
}

              
            
!

JS

              
                
              
            
!
999px

Console