100-project-100-days-website/100_projects/3-javascript-dynamic-calendar-css-glassmorphism-ui-design/index.html

40 lines
1.0 KiB
HTML
Raw Normal View History

2023-02-24 14:10:35 +03:00
<!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">
<title>Document</title>
<link rel="stylesheet" href="css/dycalendar.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<section>
<div class="box">
<div class="container">
<div id="dycalendar"></div>
</div>
</div>
</section>
<script src="js/dycalendar.js"></script>
<script type="text/javascript" src="js/vanilla-tilt.js"></script>
<script type="text/javascript">
VanillaTilt.init(document.querySelector(".container"), {
max: 15,
speed: 200,
glare: true,
"max-glare": 0.2,
});
</script>
<script>
dycalendar.draw({
target: '#dycalendar',
type: 'month',
dayformat: 'full',
monthformat: 'full',
highlighttargetdate: true,
prevnextbutton: 'show'
})
</script>
</body>
</html>