bootstrap+swiper+tsparticles实现自适应粒子图文幻灯片旅游单页代码
代码语言:html
所属分类:响应式
代码描述:bootstrap+swiper+tsparticles实现自适应粒子图文幻灯片旅游单页代码
代码标签: bootstrap swiper tsparticles 自适应 粒子 图文 幻灯片 旅游 单页 代
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/swiper-bundle.11.0.4.css">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.4.5.2.css">
<style>
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&family=Nunito:wght@300;600&display=swap");
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Nunito", sans-serif;
}
body {
background-image: radial-gradient(
circle at 20% 100%,
rgba(184, 184, 184, 0.1) 0%,
rgba(184, 184, 184, 0.1) 33%,
rgba(96, 96, 96, 0.1) 33%,
rgba(96, 96, 96, 0.1) 66%,
rgba(7, 7, 7, 0.1) 66%,
rgba(7, 7, 7, 0.1) 99%
),
linear-gradient(40deg, #040a22, #162561, #202e64, #6f7aa6);
background-repeat: no-repeat;
background-size: cover;
}
section {
display: grid;
grid-template-columns: 50% 45%;
place-items: center;
gap: 60px;
min-height: 100vh;
padding: 20px 60px;
}
/* CONTENT */
.content {
max-width: 600px;
}
.content h1 {
font-family: "Comfortaa", sans-seri.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0