css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <link href="https://fonts.googleapis.com/css?family=Shadows+Into+Light" rel="stylesheet">

<div id="all-tasks">
  <section class="header">
    
  <div class="top">
    <div class="logo">
      Task Manager
    </div>
    
    <div class="tasks-total">
        <div class="task"><span class="number">12</span>Tasks</div>
       <div class="task"><span class="number">5</span>completed</div>
    </div>
  
    <div class="add-circle">
 <i class="fa fa-plus-circle" aria-hidden="true"></i>     
    </div>
   </div> 
  </section>
  
  <section class="task-form">
    <div class="close-btn">
      <i class="fa fa-times"></i>
    </div>
    <form>
      <h3> Add a task</h3>
        <div class="form-group">
          <label for="title">Title:</label>
          <input type="text" name="title">
        </div>
      <div class="form-group">
          <label for="title">Category:</label>
          <input type="text" name="title">
        </div>
      <div class="form-group">
          <label for="title">Notes:</label>
        <textarea name="notes"></textarea>
        </div>
      <div class="form-group">
          <button type="submit">Add New Task</button>
        </div>
    </form>
    
  </section>
  
  <section class="content-area">
    <div class="container">
    <div class="tasks-container">
   <div class="task-box">
     <div class"title">
       Clean Room
     </div>
     <div class="date">
       <h4>Created: January 16, 2018</h4>
     </div>
     <div class="check-box">
       <i class="fa fa-check" aria-hidden="true"></i>
     </div>
    </div> 
   </div>
  </div>
    <div class="container">
    <div class="tasks-container">
   <div class="task-box">
     <div class"title">
       Clean Room
     </div>
     <div class="date">
       <h4>Created: January 16, 2018</h4>
     </div>
    </div> 
   </div>
  </div>
  </section>
  
</div>
            
          
!
            
              html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*css reset done*/
@media screen and (min-width: 400px) {
    #all-tasks {
        background-color: lightgreen;
    }
}

html, body{
  background: #ededed;
  height: 100%;
  overflow: hidden;
}

*, h1, h2, h3, h4, h5, h6, p, span, div{
  font-family: "Sans-serif" , Times, serif;
  box-sizing: border-box;
}

.welcome-box{
  background: rgba(0, 0, 0, .6);
  padding: 40px 15px;
}
h1{
  font-size: 28px;
  font-weight: 200;
  text-transform: uppercase;
  }

#home{  
  background: url("https://images3.alphacoders.com/225/thumb-1920-22567.jpg") no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
  .welcome-box{
  background: rgba(0, 0, 0, .6);
  padding: 40px 15px;
  }
  
h1{
  font-size: 28px;
  font-weight: 200;
  text-transform: uppercase;
  }



#all-tasks{  
  background: url(http://i11.wikimapia.org/?x=2942987&y=1427842&zoom=22&type=map&lng=0) no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
 // height: 300px;
  width: 100%;
}
.header{
  background: url("https://images3.alphacoders.com/225/thumb-1920-22567.jpg") no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
 // height: 300px;
  width: 100%;
}
.top{
background: rgba(58,71,147,.6);
    padding: 50px 15px;
  text-align: right;
  }
.logo{
  float: left;
  font-family: 'Shadows Into Light', cursive;
  font-size: 36px;
}

.tasks-total {
  position: relative;
  top: -20px;
}
.task{
  display: inline-block;
}

.tasks-total .task .number{
  color: #22eccf;
  font-weight: 200;
  font-size: 50px;
  margin: 0 10px 0 0;
  position: relative;
  top: 5px;
  display:inline-block
}
.add-circle{
  padding: 20px;
  position: absolute;
  right: 25px;
  background: rgba(58,71,147, .6);
  border-radius: 50%;
}
.add-cirlce .sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 5px;
}
.add-circle .fa{
  color: #22eccf;
  font-size: 50px;
  cursor: pointer;
}

.content-area {
    width: 100%;
    margin: 10px 0 10px 0;
    color: red;
}

  .container {
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    width: 100%;
    /* border-bottom: 2px solid #9d9d9d; */
    /* background: white; */
    /* padding: 0 5px .5px; */
}

.tasks-container {
    margin: 20px 0;
    background-color: white;
    padding: 0px;
}

.task-box {
    margin: 10px 0 10px 0;
    padding: 20px;
    color: black;
    font-size: 24px;
    background: white;
    border-bottom: 2px solid #9d9d9d;
    position: relative;
}

.task-form{
  background: #0f2043;
  position: absolute;
  z-index: 100;
  top:0;
  bottom:0;
  width:100%;
  color: #fff;
  padding: 50px 0;
  transform: translate(0, 100%);
  transition: all .6s ease-in-out;
}
.task-form.active{
  transform: translate(0, 0);
 }

.task-form form{
  display: block;
  margin: 0 auto;
  max-width: 500px;
}
.task-form label{
  display: block;
  text-transform: uppercase;
  font-family: 'Shadows Into Light', cursive;
  margin: 0 0 15px 0;
}

input[type="text"], textarea{
  width: 100%;
  background: rgba(255,255,255, .1);
  font-weight: 300;
  font-family:'Shadows Into Light', cursive;
  font-size: 36px;
  color: white;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.7);
}

.focus{
  border: none;
  outline: none;
}
textarea{
  height: 250px;
}

form{
  display: block;
  max-width: 500px;
  margin: 0 auto;
  padding: 15px;
}

button{
  background:#22eccf;
  border: none;
  width: 100%;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  padding: 15px 20px;
}

.close-btn{
  position: absolute;
  top: 35px;
  right: 35px;
  padding: 15px;
  cursor: pointer;
}

.close-btn .fa{
  font-size: 36px;
}

.title{
  color: black;
  font-size: 24px;
}

.date{
  font-size: initial;
  background: rgba(58,71,147, .6);
  display: inline-block;
}

.check-box{
  padding: 5px;
  border-radius: 10px;
  border: 3px solid rgba(58,71,147, .6);
  background: rgba(58,71,147, .6);
  display: inline-block;
  position: absolute;
  top: 25px;
  right: 20px;
}

.check-box .fa{
  color: #22eccf;
}

.btn{
  width: 100%;
  padding: 10px 20px;
  text-align: center;
  margin: 15px 0;
  background-color: #2287ec;
  font-size: 20px;
  font-weight: 400;
}

h3{
  margin: 50px 0;
  font-size: 36px;
  text-align: center;
}
            
          
!
            
              $(document).ready(function(){
  $('.add-circle').on('click' , function(){
    $('.task-form').addClass('active')
  });
  $('.task-form .close-btn').on('click' , function(){
    $('.task-form').removeClass('active')
 });
});
/* Function can also be called by removing "transform" and adding:
$(document).ready(function(){
$(".add-circle, .close-btn").on("click", function(){
  $(".task-form").slideToggle()
 });
});
*/
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console