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
62 changes: 62 additions & 0 deletions Calander/AdyaTech/day70.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,300);

.frame {
position: absolute;
top: 50%;
left: 50%;
width: 400px;
height: 400px;
margin-top: -200px;
margin-left: -200px;
border-radius: 2px;
box-shadow: 4px 8px 16px 0 rgba(0,0,0,0.1);
overflow: hidden;
background: #fff;
color: #333;
font-family: 'Open Sans', Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.container {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
}

.grid-item {
height: 200px;
text-align: center;
background: #E27474;
color: white;
display: flex;
scale: 1;
flex-direction: column;
align-items: center;
justify-content: center;
transition: all 0.5s ease-in-out;
}

.grid-item:hover {
box-shadow: inset 0 0 2px 4px #000000;
}

.grid-item p {
font-size: 20px;
margin: 0; /* Remove default margin to avoid extra spacing */
}

.grid-item h1 {
font-size: 4em;
margin: 0; /* Remove default margin to avoid extra spacing */
}

.grid-item .konten {
line-height: 1;
transition: all 0.5s ease-in-out;
}

.grid-item:hover .konten {
transform: scale(0.9);
}

37 changes: 37 additions & 0 deletions Calander/AdyaTech/day70.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<title>CSS DAY 70</title>
<link rel="stylesheet" href="day70.css">
</head>

<body>
<div class="frame">
<div class="container">
<div class="grid-item">
<div class= "konten">
<p>Friday</p>
<h1>15</h1>
</div>
</div>
<div class="grid-item">
<div class= "konten">
<p>Saturday</p>
<h1>16</h1>
</div>
</div>
<div class="grid-item">
<div class= "konten">
<p>Sunday</p>
<h1>17</h1>
</div>
</div>
<div class="grid-item">
<div class= "konten">
<p>Monday</p>
<h1>18</h1>
</div>
</div>
</div>
</body>
</html>