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.


                <!DOCTYPE html>
<html lang="ko">

	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
	<script type="text/javascript" src="js/jquery.easing.1.3.min.js"></script>
  <!--  placeholder를 사용하기 위한 스크립트 추가  -->
	<script type="text/javascript" src="js/jquery.placeholder.js"></script>

    <label for="input">input placeholder</label>
    <input type="text" id="input" placeholder="내용을 입력하세요.">



                /* IE9 이하를 위한 css */
.placeholder {
  color: red;

/* IE10 이상을 위한 css */
input::placeholder {
  color: red;
  opacity: 1; /* 파이어폭스에서 뿌옇게 나오는 현상을 방지하기 위한 css */
input::-webkit-input-placeholder {
  color: red;
/* IE */
input:-ms-input-placeholder {
  color: red;
/* Firefox */
input:-mos-input-placeholder {
  color: red;

/* input 기본 스타일 지정 */
input {
  width: 460px;
  padding: 10px;

/* textarea 기본 스타일 지정 */
textarea {
  width: 460px;
  height: 100px;
  padding: 10px;

body {
  padding: 20px;
  box-sizing: border-box;

div + div {
  margin-top: 20px;

label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #666;


                $(document).ready(function() {
	$('input, textarea').placeholder();