For my friend's birthday, I am designing a website that resembles a greeting card. The layout consists of text in the center and an image of a birthday cake. To give it a card-like feel, I want to create a border around it. Although I know how to adjust flexbox values, I'm hesitant to make changes on my own. Can someone guide me through the solution?
// JavaScript code for confetti animation goes here...
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>🎉Happy Birthday🎉</title>
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="icon" type="image/x-icon" href="Images/favicon.ico">
<link href='https://fonts.googleapis.com/css?family=Raleway' rel='stylesheet'>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
</style>
</head>
<body style="background-color:hsl(0, 0%, 0%); width: 100%; height: 100%;">
<div class="animated pulse infinite" style="font-size: 90px; color:#06589c ; text-shadow: 0 0 2rem #06589c; font-family:'Raleway'; text-align: center; margin-top: 55px; font-weight: bold;">Happy Birthday Eshal!</div>
<div class="Birthday Cake" style="text-align: center;">
<img src="images/favicon.png" width="346.4px" height="310.8px" alt="Birthday Cake" style="text-shadow: 0 0 2rem white;">
</div>
<script src="confetti.js"></script>
<!-- Confetti JS-->
<script>
// start
const start = () => {
setTimeout(function() {
confetti.start()
}, 1000);
};
// Stop
const stop = () => {
setTimeout(function() {
confetti.stop()
}, 5000);
};
start();
stop();
</script>
</body>
</html>