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
61 changes: 61 additions & 0 deletions AhmadFadlih/Introduction.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">

<head>
<title>Biodata Diri</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Ahmad Fadlih Wahyu Sardana</title>
</head>
<body>
<section>
<div class="container"></div>
<div class="container">
<h1>Biodata Diri</h1>
<img src="https://daftarulang.polinema.ac.id/photo/2023/423643227-5fv5M.jpeg" alt="Foto Diri" />
<div class="info">
<h1>Ahmad Fadlih Wahyu Sardana</h1>
<ul>
<li>
<p>Nama : Ahmad Fadlih Wahyu Sardana</p>
</li>
<li>
<p>Tempat Tanggal Lahir : Malang, 05 Mei 2005</p>
</li>
<li>
<p>Umur : 18 Tahun</p>
</li>
<li>
<p>Alamat : JL Mentaraman Talok Turen Kabupaten Malang</p>
</li>
<li>
<p>Hobby : Swim</p>
</li>
<li>
<p>
Deskripsi : Yang Penting Menjalani <br>

</p>
</li>
<li><a href="https://github.com/Fadlihh">GitHub</a></li>
</ul>
</section>
</div>
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 26 150 30"
preserveAspectRatio="none"
>
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s
58 18 88 18 58-18 88-18
58 18 88 18 v44h-352z" />
</defs>
<g class="waves">
<use xlink:href="#gentle-wave" x="50" y="0" fill="#03ffff" fill-opacity=".2" />
<use y="3" fill-opacity=".5" />
<use y="6" fill-opacity=".10" />
</g>
</svg>
</body>
</html>
98 changes: 98 additions & 0 deletions AhmadFadlih/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
body {
max-width: 800px;
margin: auto;
padding: 20px;
font-family: "Poppins";
color: #ddfdfd;
background: #050808;
}
h1 {
text-align: center;
margin-top: 0;
}
img {
display: block;
margin: auto;
max-width: 300px;
height: auto;
border-radius: 50%;
}
.banner {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column-reverse;
gap: 50px;
padding: 80px;
text-align: center;
height: 100vh;
background: #050808;
}

.banner>img {
width: 60vw;
transition: 0.1s Linear;
}

.banner h2 {
font-weight: 500;
font-size: 30px;
margin: 10px;
}

.banner p {
margin: 0;
line-height: 1.65;
opacity: 0.7;
}

.waves>use:nth-child(2) {
animation-delay: -3s;
animation-duration: 6s;
}

.waves>use:nth-child(3) {
animation-delay: -4s;
animation-duration: 3s;
}

@keyframes move-forever {
0% {
translate: -90px 0%;
}

100% {
translate: 85px 0%;
}
}

svg {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 30vw;
max-height: 200px;
}

.waves>use {
animation: move-forever 2s -2s linear infinite;
}

@media (width >=420px) {
.banner img {
width: 40vw;
}
}

@media (width >=648px) {
.banner {
text-align: left;
flex-direction: row;
justify-content: space-between;
}

.banner>img {
width: 30vw;
}
}