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
1 change: 1 addition & 0 deletions Web Development/task_1/Subham_Kumar
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Web Dev task 1
Binary file added Web Development/task_1/eight1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/five.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/four.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions Web Development/task_1/hhhh.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SPIDEY</title>
<link rel="stylesheet" href="styles.css">
<link href="https://unpkg.com/[email protected]/dist/css/ionicons.min.css" rel="stylesheet">
</head>

<body>
<div class="container">
<div class="ttt">
<a href="images/one.jpg" class="img-1">
<i class="icon ion-md-expand"></i>
</a>
<a href="images/two.jpg" class="img-2">
<i class="icon ion-md-expand"></i>
</a>
<a href="images/three.jpg" class="img-3">
<i class="icon ion-md-expand"></i>
</a>
<a href="images/four.jpg" class="img-4">
<i class="icon ion-md-expand"></i>
</a>
<a href="images/five.jpg" class="img-5">
<i class="icon ion-md-expand"></i>
</a>
<a href="images/six.jpg" class="img-6">
<i class="icon ion-md-expand"></i>
</a>
<a href="images/seven.jpg" class="img-7">
<i class="icon ion-md-expand"></i>
</a>
<a href="images/eight1.jpg" class="img-8">
<i class="icon ion-md-expand"></i>
</a>

</div>
</div>
</body>

</html>
Binary file added Web Development/task_1/one.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/seven.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/six.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
125 changes: 125 additions & 0 deletions Web Development/task_1/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
font-family: 'Times New Roman', Times, serif;
font-size: 10px;
}

body {
width: 100%;
height: 100vh;
background-color: #eee;
display: flex;
}

.container {
width: 100%;
max-width: 120rem;
margin: auto;
padding: 0 1.5rem;
}

.ttt {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: auto;
grid-gap: 1.5rem;
grid-template-areas: 'img-1 img-2 img-3 img-3' 'img-1 img-5 img-6 img-6' 'img-4 img-4 img-7 img-7' 'img-4 img-4 img-7 img-7' 'img-8 img-8 img-8 img-8' 'img-8 img-8 img-8 img-8';
}

.ttt a {
width: 100%;
height: 25rem;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}

.ttt a i {
color: rgba(255, 255, 255, 0.5);
font-size: 3rem;
position: relative;
z-index: 100;
padding: 1rem 3rem;
border: 2px solid rgba(255, 255, 255, 0.5);
border-radius: .4rem;
opacity: 0;
transition: opacity 0.5s;
}

.ttt a::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.8);
opacity: 0;
transition: opacity 0.5s;
}

.ttt a:hover i,
.ttt a:hover::before {
opacity: 1;
}

.img-1 {
grid-area: img-1;
min-height: 51.5rem;
background-image: url("images/one.jpg");
}

.img-2 {
grid-area: img-2;
background-image: url("images/two.jpg");
}

.img-3 {
grid-area: img-3;
background-image: url("images/three.jpg");
}

.img-4 {
grid-area: img-4;
min-height: 51.5rem;
background-image: url("images/four.jpg");
}

.img-5 {
grid-area: img-5;
background-image: url("images/five.jpg");
}

.img-6 {
grid-area: img-6;
background-image: url("images/six.jpg");
}

.img-7 {
grid-area: img-7;
min-height: 51.5rem;
background-image: url("images/seven.jpg");
}

.img-8 {
grid-area: img-8;
min-height: 51.5rem;
background-image: url("images/eight1.jpg");
}

@media screen and (max-width:900px) {
.ttt {
grid-template-areas: 'img-1 img-2 img-3 img-3' 'img-1 img-5 img-6 img-6' 'img-4 img-4 img-7 img-7' 'img-4 img-4 img-7 img-7' 'img-8 img-8 img-8 img-8';
}
}
Binary file added Web Development/task_1/three.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/two.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.