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
40 changes: 40 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<title>iOS Home Screen</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="frame">
<img src="frame/DeviceFrame.jpg" class="device">
<div class="homescreen">
<img src="wallpaper/default.jpg" class="wallpaper">
<div class="icons">
<img src="icons/1.png" class="icon">
<img src="icons/2.png" class="icon">
<img src="icons/3.png" class="icon">
<img src="icons/4.png" class="icon">
<img src="icons/5.png" class="icon">
<img src="icons/6.png" class="icon">
<img src="icons/7.png" class="icon">
<img src="icons/8.png" class="icon">
<img src="icons/9.png" class="icon">
<img src="icons/10.png" class="icon">
<img src="icons/11.png" class="icon">
<img src="icons/12.png" class="icon">
<img src="icons/13.png" class="icon">
<img src="icons/14.png" class="icon">
<img src="icons/15.png" class="icon">
<img src="icons/16.png" class="icon">
<img src="icons/17.png" class="icon">
<img src="icons/18.png" class="icon">
<img src="icons/19.png" class="icon">
<img src="icons/20.png" class="icon">
</div>
</div>
</div>



</body>
</html>
52 changes: 52 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
body {
box-sizing: border-box;
}

.frame {
position: relative;
border:1px solid red;
}

.device {
border:1px solid blue;
}

.homescreen {
position: absolute;
top: 114px;
left: 31px;
height: 734px;
width: 415px;
}

.icon{
display:inline-block;
width: calc((100% - 30%)/4);
border-radius: 15%;
margin: 4% 2%
}

.icons::after {
content: "";
clear: both;
display: table;
}

.wallpaper {
width: 100%;
height: 100%;
}

.icons {
position: absolute;
top: 0;
height: 100%;
width: 100%;
padding-top:5%;
padding-left:5%;
border:1px solid green;
}

.icon {
border:1px solid black;
}