-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8401c38
Showing
19 changed files
with
1,416 additions
and
0 deletions.
There are no files selected for viewing
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
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.
Oops, something went wrong.