Skip to content

Commit 5791e48

Browse files
committed
update
1 parent 768d9c0 commit 5791e48

File tree

10 files changed

+55
-8
lines changed

10 files changed

+55
-8
lines changed
1.66 MB
Loading
3.94 MB
Loading

assets/images/showcase/demo-1.PNG

25.4 KB
Loading

assets/images/showcase/demo-2.PNG

450 KB
Loading

assets/images/showcase/demo-3.PNG

14.1 KB
Loading

assets/images/showcase/demo-4.PNG

101 KB
Loading
4.63 KB
Loading
18.9 KB
Loading

index.php

Lines changed: 53 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,51 @@
5656
float: right;
5757
right: 0;
5858
position: absolute;
59-
display: none;
59+
display: none;
60+
}
61+
62+
.img-container {
63+
position: relative;
64+
width: 35%;
65+
height: 90%;
66+
background: rgba(0, 0, 0, 0);
67+
/* transform: rotate(0deg); */
68+
transform: rotate(-25deg) skew(25deg) scale(1);
69+
/* transform: rotate(-25deg) skew(25deg) scale(0.5); */
70+
transition: .4s;
71+
margin: 0 auto;
72+
}
73+
74+
.img-container img {
75+
position: absolute;
76+
height: 100%;
77+
width: 100%;
78+
transition: .4s;
79+
cursor: pointer;
80+
border-width: 30px 12px 50px;
81+
border-style: solid;
82+
border-radius: 8px;
83+
border-color: black;
84+
}
85+
86+
.img-container:hover img:nth-child(4) {
87+
transform: translate(120px, -120px);
88+
opacity: 1;
89+
}
90+
91+
.img-container:hover img:nth-child(3) {
92+
transform: translate(90px, -90px);
93+
opacity: 0.85;
94+
}
95+
96+
.img-container:hover img:nth-child(2) {
97+
transform: translate(60px, -60px);
98+
opacity: 0.7;
99+
}
100+
101+
.img-container:hover img:nth-child(1) {
102+
transform: translate(30px, -30px);
103+
opacity: 0.55;
60104
}
61105
</style>
62106
</head>
@@ -166,10 +210,15 @@
166210
echo '<p>Please <a class="btn btn-outline-success" href="./login.php">Login</a></p>';
167211
}
168212
echo '<a href="https://github.com/g4o2/PHP-SQL-Chat" target="_blank"><img src="https://github-readme-stats.vercel.app/api/pin/?username=g4o2&repo=PHP-SQL-Chat" alt="github repo"></a>';
169-
echo '<a href="https://github.com/g4o2/g4o2" target="_blank"><img src="https://github-readme-stats.vercel.app/api/pin/?username=g4o2&repo=g4o2" alt="github repo"></a><hr/>';
170-
echo '<a href="https://github.com/Maxhu787" target="_blank"><img src="https://github-readme-streak-stats.herokuapp.com/?user=maxhu787"></a>';
213+
echo '<a href="https://github.com/g4o2/g4o2-api" target="_blank"><img src="https://github-readme-stats.vercel.app/api/pin/?username=g4o2&repo=g4o2-api" alt="github repo"></a><hr/>';
214+
// echo '<a href="https://github.com/Maxhu787" target="_blank"><img src="https://github-readme-streak-stats.herokuapp.com/?user=maxhu787"></a>';
171215
?>
172-
<!-- <img src="./assets/backgrounds/burj-khalifa.jpg" alt=""> -->
216+
<div class="img-container">
217+
<img src='./assets/images/showcase/demo-2.PNG' />
218+
<img src='./assets/images/showcase/demo-3.PNG' />
219+
<img src='./assets/images/showcase/demo-2.PNG' />
220+
<img src='./assets/images/showcase/demo-1.PNG' />
221+
</div>
173222
</main>
174223
<footer class="text-center text-lg-start bg-light text-muted">
175224
<section class="d-flex justify-content-center justify-content-lg-between p-4 border-bottom">

pdo.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
session_start();
33
ob_start();
44
ini_set('display_errors', 0);
5-
5+
/*
66
$HOST = 'sql12.freemysqlhosting.net';
77
$PORT = 3306;
88
$DB_NAME = 'sql12561191';
@@ -14,7 +14,7 @@
1414
$DB_PASSWORD
1515
);
1616
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
17-
/*
17+
*/
1818
$HOST = 'localhost';
1919
$PORT = 3306;
2020
$DB_NAME = 'sql12561191';
@@ -26,5 +26,3 @@
2626
$DB_PASSWORD
2727
);
2828
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
29-
*/
30-
?>

0 commit comments

Comments
 (0)