Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

Save Automatically?

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

              
                <section>
<div class="container">
    <h1>
        Users List
        <span> Select User for Delete</span>
    </h1>
    <input type="checkbox" id="User1" name="" />
    <label for="User1">Robert Brown</label>
     
    <input type="checkbox" id="User2" name="" />
    <label for="User2">Peter Baily</label>
     
    <input type="checkbox" id="User3" name="" />
    <label for="User3">Megan Allen</label>
     
    <input type="checkbox" id="User4" name="" />
    <label for="User4">Saul Lemke</label>
     
    <input type="checkbox" id="User5" name="" />
    <label for="User5">Robert Brown</label>
 
</div>
</section>
              
            
!

CSS

              
                body, html {
	margin:0px;
	padding:0px;
	height: 100%;
  background:#f2f8fc;
}
section {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
  
  font-family: 'Titillium Web', sans-serif;
  font-size:16px;
}

.container {
    width: 245px;
    margin: 0 auto;
    background: #fff;
    border: solid 1px rgba(0, 0, 0, .2);
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(140, 139, 139, 0.37);
    overflow:hidden;
}
.container label {
    display: block;
    padding: 16px 5px 16px 40px;
    position: relative;
    line-height: 26px;
    font-weight: bold;
    font-size: 13px;
    color: #8a9a9b;
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    cursor:pointer;
  margin:0 8px;
}
.container label:last-child {
    border-bottom:0px;
}
.container label:before {
    content: "";
    position: absolute;
    left: 5px;
    border-radius: 50%;
    border: solid 2px #c4cbd2;
    padding: 5px;
    box-sizing: border-box;
    width: 25px;
    height: 25px;
    text-align: center;
    font-size: 14px;
    line-height: 13px;
}
.container input[type="checkbox"] {display:none;}
.container input[type="checkbox"]:checked + label {color:#39ca74; text-decoration: line-through;}
.container input[type="checkbox"]:checked + label:before {content:"✓"; border-color:#39ca74;}
 
.container h1 {
    margin:0; 
    padding: 9px 16px;
    color: #5d6b6c;
    font-size: 16px;
    text-shadow:1px 1px 1px #fff;
     
    background: #f9fafd; /* Old browsers */
    background: -moz-linear-gradient(top,  #f9fafd 0%, #e6eaed 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9fafd), color-stop(100%,#e6eaed)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f9fafd 0%,#e6eaed 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f9fafd 0%,#e6eaed 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f9fafd 0%,#e6eaed 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f9fafd 0%,#e6eaed 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9fafd', endColorstr='#e6eaed',GradientType=0 ); /* IE6-9 */
    border-bottom: solid 1px rgba(0, 0, 0, .2);
}
 
.container h1 span {
    display: block;
    font-size: 11px;
    font-weight: bold;
    padding-top: 1px;
}
              
            
!

JS

              
                
              
            
!
999px

Console