Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
.header{
margin: 25% 25% 25%;
text-align: center;
height: 100px;
font-size: 40px;
background-color: #424242;
border-radius: 20px 20px 0px 0px;
border: solid 3px ;
}
span{
color: white;
vertical-align: middle;
}
.main{
margin: 25% 25% 20% ;
background-color: #c0c0c0;
height: 400px;
text-align: center;
margin-top: -314px;
border-radius: 0px 0px 20px 20px;
border: solid 3px;
}
.list{
list-style: none;
margin-left: -40px;

}
a{
float: left;
font-size: 25px;
padding: 10px;
}
input[type="checkbox"]:checked+
a{
text-decoration: line-through;
color: #606060;
}
input[type="checkbox"]{
position:relative;
float: right;
top: 15px;
right: 10px
}
.list li{
float: left;
width: 100%;
}
.list li:nth-child(odd){
background:white ;
}
body{
background-image: radial-gradient( #c8d2df 20%, gray 100%);
}
41 changes: 41 additions & 0 deletions todolist.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<link rel="stylesheet" type="text/css" href="style.css"/>
<div class="container-fluid"><div class="header">
<span>TO DO LIST</span>
</div>
<div class="main">
<ol class="list">
<li>
<input type="checkbox" checked="checked">
<a>Study</a>
</li>
<li>
<input type="checkbox" checked="checked">
<a>Computer Games</a>
</li>
<li>
<input type="checkbox" checked="checked">
<a>Programming</a>
</li>
<li>
<input type="checkbox" checked="checked">
<a>Hangout</a>
</li>
<li>
<input type="checkbox" checked="checked">
<a>Football</a>
</li>
<li>
<input type="checkbox" checked="checked">
<a>Pretend to Study</a>
</li>
<li>
<input type="checkbox" checked="checked">
<a>Sleep</a>
</li>
</ol>
</div>
</div>
</html>