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 class="wrap">
  	<div class="header"><span>Todo List</span></div>
		<div class="wrap-list">
			<ol class="list">
					<input type="checkbox" id="check-1" checked="checked">
					<label for="check-1">Shop</label>
					<input type="checkbox" id="check-2">
					<label for="check-2">Practice</label>
					<input type="checkbox" id="check-3">
					<label for="check-3">Sleep</label>
					<input type="checkbox" id="check-4">
					<label for="check-4">Enjoy life</label>
					<input type="checkbox" id="check-5" checked="checked">
					<label for="check-5">Do something</label>


  margin: 0;
  padding: 0;
  outline: none;
  border: none;
	box-sizing: border-box;
	box-sizing: border-box;	
	min-height: 100%;
	background-image: radial-gradient(mintcream 0%, gray 100%);
	font-family: "Trebuchet MS";
  user-select: none;
	width: 300px;
	height: 350px;
	margin: 50px auto;
	border-radius: 20px;
	border: solid 8px #2c3033;
	background: white;
	box-shadow: 0 0 0px 1px rgba(255,255,255,.4),
						0 0 0px 3px #2c3033;
	width: 100%;
	height: 50px;

	border-radius: 10px 10px 0 0px;
	background-image: linear-gradient(#687480 0%, #3b4755 100%);
	font: bold 18px/50px arial;
	text-align: center;
	color: white;
	box-shadow: inset 0 -2px 3px 2px rgba(0,0,0,.4),
						0 2px 2px 2px rgba(0,0,0,.4);
	display: block;
	width: 100%;
	height: 90%;
	border-bottom: dashed 2px #54687a;
	height: 85%;
	padding: 20px 0px;
	box-shadow: inset 0 0px 5px black;
	border-radius: 0 0 10px 10px;
	background-image: linear-gradient(transparent 97%, gray 100%);

  position: relative;
  top: 14px;
  right: 12px;
	float: right;
input[type="checkbox"]:checked + label{
	text-decoration: line-through;
	color: rgba(0,0,0,.3);
	list-style: none;
	color: rgba(0,0,0,.7);
.list li:nth-child(odd){
	background: rgba(0,0,50,.1);
.list li{
	float: left;
	width: 100%;
  padding: 10px;
	cursor: pointer;
	float: left;
	width: 95%;
	transition: all .3s ease;


CSS3 Todo List

full view:

insprired from :

23/09/2012: remove padding property from li and add it to label instead. thanks to : Kyle Smith (

24/09/2012: adding user-select: none to the body. to prevent select issue.