diff --git a/beentogether/.gitignore b/beentogether/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/beentogether/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/beentogether/favicon.ico b/beentogether/favicon.ico index e6ea50f..b2db5e1 100644 Binary files a/beentogether/favicon.ico and b/beentogether/favicon.ico differ diff --git a/beentogether/img/Tien.png b/beentogether/img/Tien.png new file mode 100644 index 0000000..200a39f Binary files /dev/null and b/beentogether/img/Tien.png differ diff --git a/beentogether/img/Vy.jpg b/beentogether/img/Vy.jpg new file mode 100644 index 0000000..b5dd294 Binary files /dev/null and b/beentogether/img/Vy.jpg differ diff --git a/beentogether/img/broken-heart.gif b/beentogether/img/broken-heart.gif new file mode 100644 index 0000000..ac5fb39 Binary files /dev/null and b/beentogether/img/broken-heart.gif differ diff --git a/beentogether/img/broken-heart.png b/beentogether/img/broken-heart.png new file mode 100644 index 0000000..8c186ce Binary files /dev/null and b/beentogether/img/broken-heart.png differ diff --git a/beentogether/index.html b/beentogether/index.html index 74d010e..79be2f7 100644 --- a/beentogether/index.html +++ b/beentogether/index.html @@ -2,54 +2,55 @@ - - - - - - - Rabbit ❤️ Carrot + + + + + + + Rabbit 💔 Carrot -

Been Together

-
+

Been Together

+
-
- -
-

Nguyễn Minh Tiến

-

26.10.1999

+
+ Tien +
+

Nguyễn Minh Tiến

+

26/10/1999

+
-
-
- -
+
+ +
-
- -
-

Nguyễn Ngọc Tường Vy

-

12.02.1999

+
+ Vy +
+

Nguyễn Ngọc Tường Vy

+

12/02/1999

+
-
-

00 DAYS

-

- 10:20:16 -

+

00 DAYS

+

+ 11/04/2019 - 08/10/2022 + +

-

Thank you for your love !

-
- - +

Cảm ơn VY vì tất cả!

+
+ + - \ No newline at end of file + diff --git a/beentogether/main.js b/beentogether/main.js index dc88c6b..c4d3fa0 100644 --- a/beentogether/main.js +++ b/beentogether/main.js @@ -6,7 +6,7 @@ document.addEventListener('DOMContentLoaded', function () { var second = document.querySelector('.second'); var startDate = new Date(2019, 3, 11); - days.innerText = Math.floor((new Date - startDate) / 86400000); + days.innerText = Math.floor((new Date(2022, 9, 8) - startDate) / 86400000); countTime(); function countTime() { @@ -17,6 +17,6 @@ document.addEventListener('DOMContentLoaded', function () { second.innerText = Math.floor(ms % 3600000 % 60000 / 1000); } - setInterval(countTime, 1000); + // setInterval(countTime, 1000); -}, false); \ No newline at end of file +}, false); diff --git a/beentogether/style.css b/beentogether/style.css index 112ea6c..60c4458 100644 --- a/beentogether/style.css +++ b/beentogether/style.css @@ -56,7 +56,9 @@ img { .avatar { width: 70px; + height: 70px; border-radius: 50%; + vertical-align: middle; } .info .details { @@ -123,23 +125,23 @@ img { animation: heartBeat 1s ease-in-out infinite; } -@keyframes heartBeat { - 0% { - transform: scale(.9); - } +/*@keyframes heartBeat {*/ +/* 0% {*/ +/* transform: scale(.9);*/ +/* }*/ - 45% { - transform: scale(1.1); - } +/* 45% {*/ +/* transform: scale(1.1);*/ +/* }*/ - 70% { - transform: scale(.9); - } +/* 70% {*/ +/* transform: scale(.9);*/ +/* }*/ - 100% { - transform: scale(.9); - } -} +/* 100% {*/ +/* transform: scale(.9);*/ +/* }*/ +/*}*/ @media (max-width: 997px) { .box { @@ -184,4 +186,4 @@ img { .say-thank { margin-top: 2rem; } -} \ No newline at end of file +}