gsap实现全屏家具电商类图文幻灯片效果代码
代码语言:html
所属分类:幻灯片
代码描述:gsap实现全屏家具电商类图文幻灯片效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");
html {
box-sizing: border-box;
--gutter: 2.5rem;
--color-primary: #252525;
--color-secondary: #fff;
--color-secondary-rgb: 255, 255, 255;
}
html *,
html *::before,
html *::after {
box-sizing: inherit;
}
body {
margin: 0;
height: 100vh;
display: flex;
overflow: hidden;
flex-direction: column;
color: var(--color-primary);
font-family: "Lato", sans-serif;
}
button {
all: unset;
cursor: pointer;
-webkit-tap-highlight-color: transparent ;
}
.inner-container {
height: 100%;
margin: 0 auto;
max-width: 85rem;
width: calc(100% - var(--gutter));
}
/* ---General classes--- */
.flex-row {
display: flex;
}
.flex-column {
display: flex;
flex-direction: co.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0