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
17 changes: 12 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,6 @@ <h2>Rupesh Kr</h2>
</div>
</div>
</div>

</div>
<div class="row">

<div class="column">
<div class="card">
<img src="images/Sarthak.jpg" alt="Mike" style="width:100%">
Expand All @@ -177,7 +173,18 @@ <h2>Sarthak Garg</h2>
</div>
</div>
</div>

<div class="column">
<div class="card">
<img src="images/Aayush.jpg" alt="Aayush" style="width:100%">
<div class="container">
<h2>Aayush Sharma</h2>
<p class="title">Student</p>
<p>Work hard Play hard.</p>
<p>aayush7901@gmail.com</p>
<p><a href="https://www.facebook.com/aayushn.sharma" target="_blank"><button class="button">Contact</button></a></p>
</div>
</div>
</div>
</div>
</body>
</html>
16 changes: 12 additions & 4 deletions main.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
/* Three columns side by side */
.column {
float: left;
width: 9%;
margin-bottom: 16px;
padding: 0 8px;
float: left;
display: table-cell;
margin: 1px;
padding: 10px 3px;
width: calc( 100% / 10 - 8px);
}

.row{
display: table-row;
width: 100%;
height: 500px;
}

/* Display the columns below each other instead of side by side on small screens */
Expand All @@ -17,6 +24,7 @@
/* Add some shadows to create a card effect */
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
height: 500px;
}

/* Some left and right padding inside the container */
Expand Down