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
72 changes: 72 additions & 0 deletions CSS/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
.container{
/* border: 1px solid black;*/
width: 320px;
height: 550px;
display: flex;
justify-content: center;
}

.outerFrame{
border: 3px solid #d2d0d0;
width: 250px;
height: 520px;
border-radius: 35px;
margin: auto;
}

.innerBody{
height:410px;
width:220px;
border: 2px solid #7a7878;
margin: 50px auto 0px auto;
background-image: url("../Images/iphoneBackground.jpg");
background-size:cover;
}

.outerButton{
width:4px;
height:40px;
position:absolute;
background:#e3e4e6;
}
#button1{
margin:110px 0px 0px -7px;
}
#button2{
margin:160px 0px 0px -7px;
}
#button3{
margin:110px 0px 0px 253px;
}
#button4{
position:absolute;
width: 10px;
height: 10px;
border-radius: 50%;
background:black;
margin:25px 0px 0px 80px;
}
#button5{
position:absolute;
width:50px;
height:4px;
border-radius: 2px;
background: black;
margin:28px 0px 0px 105px;
}
#button6{
position:absolute;
width: 7px;
height: 7px;
border-radius: 50%;
background:black;
margin:12px 0px 0px 125px;
}
#button7{
position:absolute;
width: 30px;
height: 30px;
border-radius: 50%;
border: 1px solid black;
margin:475px 0px 0px 110px;
}
Binary file added Images/iphoneBackground.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Iphone</title>
</head>
<body>
<div class="container">
<div class="outerFrame">
<div class="outerButton" id="button1"></div>
<div class="outerButton" id="button2"></div>
<div class="outerButton" id="button3"></div>
<div id="button4"></div>
<div id="button5"></div>
<div id="button6"></div>
<div id="button7"></div>
<div class="innerBody"></div>
</div>
</div>
</body>
</html>