mirror of
https://git.kh3group.com/georgebiri/khy_website.git
synced 2026-10-16 22:31:47 +00:00
refactor: enhance product detail page with dynamic content loading and improved gallery functionality
- Updated product-detail.html to replace static content with dynamic placeholders for images, title, description, sizes, and colors. - Modified main.js to implement dynamic loading of product details, including title, description, images, sizes, and colors. - Improved gallery functionality to support a carousel view for product images, including navigation buttons. - Adjusted CSS to add new transition durations and easing functions for smoother animations.
This commit is contained in:
parent
195286e6c8
commit
7295bcba7e
4 changed files with 533 additions and 785 deletions
|
|
@ -1922,10 +1922,22 @@ video {
|
|||
transition-duration: 300ms;
|
||||
}
|
||||
|
||||
.duration-500 {
|
||||
transition-duration: 500ms;
|
||||
}
|
||||
|
||||
.duration-1000 {
|
||||
transition-duration: 1000ms;
|
||||
}
|
||||
|
||||
.ease-in-out {
|
||||
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.ease-out {
|
||||
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.hover\:-translate-y-0\.5:hover {
|
||||
--tw-translate-y: -0.125rem;
|
||||
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue