Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentien00 authored Nov 13, 2023
0 parents commit 8401c38
Show file tree
Hide file tree
Showing 19 changed files with 1,416 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added balloon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cake.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cute.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cute1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cute2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added firework.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added firework1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added giftbox (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added heart (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
138 changes: 138 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<!-- <link rel="website icon" type="png" href="image/heart.png"> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css" integrity="sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Chúc mừng sinh nhật Dũng nha</title>
</head>
<body>
<div class="container">
<div class="boxcontainer">
<div class="image">
<img src="flag.png" alt="">
</div>
<div class="text-happybirthday">
<img src="texthappy.png" alt="">
</div>
<div class="cake">
<img src="cake.png" alt="">
</div>
<div class="box-balloon">
<div class="balloon-item1">
<img src="balloon.png" alt="">
</div>
<div class="balloon-item1">
<img src="balloon.png" alt="">
</div>
</div>
<div class="box-cloud">
<div class="cloud">
<img src="cloud.png" alt="">
</div>
<div class="cloud">
<img src="cloud.png" alt="">
</div>
</div>
<div class="box-firework">
<div class="firework">
<img src="firework.png" alt="">
<img src="firework1.png" alt="" id="firework1">
</div>
<div class="firework">
<img src="firework.png" alt="">
<img src="firework1.png" alt="" id="firework1">
</div>
</div>
<div class="paperCannons">
<img src="paperCannons1.png" alt="">
</div>
<div class="box-giftbox">
<img src="giftbox.png" alt="">
<img src="giftbox.png" alt="">
<img src="giftbox.png" alt="">
<img src="giftbox.png" alt="">
<img src="giftbox.png" alt="">
<img src="giftbox.png" alt="">
</div>
<div class="mail">
<i class="fa-regular fa-envelope"></i>
</div>
<div class="boxcute">
<div class="cute1">
<img src="cute.png" alt=""> <!-- thay ảnh -->
</div>
<div class="cute2">
<img src="cute.png" alt="">
</div>
</div>
</div>
<div class="boxMail">
<i class="fa-solid fa-xmark"></i>
<div class="boxMail-container">
<div class="card1">
<div class="userImg">
<img src="400230076_645743174301434_3809045113991056458_n.jpg" alt="">
</div>
<h3>Happy birthday</h3>
<div class="imageCute">
<img src="cute1.png" alt="">
</div>
</div>
<div class="card2">
<div class="card2-content">
<h3>Gủi tới Dũng</h3>
<h2>Chúc sinh nhật Dũng thật vui vẽ nha,ăn mong chóng lớn nghe chưa...</h2>
<h2>Tuy chúc hơi muộn.</h2>
<h2>Kí tên</h2>
<h2>Nguyễn Nam Tiến</h2>
<div class="imageCute2">
<img src="cute2.png" alt="">
</div>
</div>
</div>
</div>
</div>
</div>
</body>
<script>
document.addEventListener('mousemove', function(e){
let body = document.querySelector('body');
let heart = document.createElement('span');
let x = e.offsetX;
let y = e.offsetY;
heart.style.left = x+'px';
heart.style.top = y+'px';

let size = Math.random() * 10;
heart.style.width = 4 * size+'px';
heart.style.height = 4 * size+'px';


let transformValue = Math.random() * 360;
heart.style.transform = 'rotate('+ transformValue +'deg)';

body.appendChild(heart);

setTimeout(function(){
heart.remove();
},1000)
})


let mailBox = document.querySelector('.mail')
let boxmail = document.querySelector('.boxMail')
var close = document.querySelector('.fa-xmark')
mailBox.onclick = function(){
mailBox.classList.toggle('active')
boxmail.classList.add('active')
}

close.addEventListener('click', function(){
boxmail.classList.remove('active')
})
</script>
</html>
Binary file added paperCannons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paperCannons1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8401c38

Please sign in to comment.