-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
63 lines (57 loc) · 2.08 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Management System (CRUD)</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css">
<style>
/* Animasi untuk judul */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.title {
animation: fadeIn 1s ease-in-out;
}
/* Animasi untuk tombol */
.btn-animated {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-animated:hover {
transform: scale(1.05);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.btn-animated:active {
transform: scale(0.95);
}
/* Pusatkan konten */
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
</style>
</head>
<body>
<div class="container">
<h2 class="title">Student Management System Berbasis PHP</h2>
<p>Selamat datang di sistem manajemen siswa. Anda dapat mendaftarkan siswa baru atau melihat daftar siswa yang telah terdaftar.</p>
<div class="text-center">
<a href="create.php" class="btn btn-primary btn-lg mx-2 btn-animated">Daftarkan Siswa Baru</a>
<a href="read.php" class="btn btn-secondary btn-lg mx-2 btn-animated">Lihat Daftar Siswa</a>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
</body>
</html>