mirror of
https://github.com/Alvin-Zilverstand/challenge-11.git
synced 2026-11-21 13:02:59 +01:00
Refactor index.html to remove inline Tailwind configuration and link to external JS file. Enhance script.js with modal functionality for 'Get Started' and 'Learn More' buttons, including dynamic content and hover effects for cards.
This commit is contained in:
1 parent
953e72906d
commit
5444fefbba
3 files changed
+158
-19
No files matched your search
+2
-19
@@ -8,27 +8,10 @@
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Tailwind CSS -->
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
animation: {
|
||||
'float': 'float 3s ease-in-out infinite',
|
||||
'pulse-slow': 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
|
||||
'bounce-slow': 'bounce 3s infinite',
|
||||
},
|
||||
keyframes: {
|
||||
float: {
|
||||
'0%, 100%': { transform: 'translateY(0)' },
|
||||
'50%': { transform: 'translateY(-10px)' },
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- Custom CSS -->
|
||||
<link rel="stylesheet" href="css/styles.css">
|
||||
<!-- Custom JS -->
|
||||
<script src="js/tailwind.config.js"></script>
|
||||
</head>
|
||||
<body class="bg-gradient-to-br from-gray-100 to-blue-50">
|
||||
<!-- Navigation -->
|
||||
|
||||
Reference in new issue
Block a user