swiper实现三维翻转个人简历作品集网站代码
代码语言:html
所属分类:其他
代码描述:swiper实现三维翻转个人简历作品集网站代码
代码标签: swiper 三维 翻转 个人 简历 作品集 网站 代码
下面为部分代码预览,完整代码请点击下载或在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/all.6.5.1.css"> <style> @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Bonbon&display=swap'); * { padding: 0; margin: 0; box-sizing: border-box; } body { height: 100vh; } main { display: flex; height: 100%; width: 100%; font-family: Poppins; } aside { width: 280px; display: flex; flex-direction: column; height: 100%; font-size: 1.1rem; background-color: #212529; backdrop-filter: blur(20px); } .Links { display: flex; flex-direction: column; margin: auto; } aside li { list-style-type: none; display: flex; padding: 20px; gap: 10px; color: white; align-items: center; cursor: pointer; position: relative; transition-duration: 0.2s; } aside li:hover { color: #80ed99; } aside li::after { position: absolute; width: 100%; left: 0px; height: 1px; background: linear-gradient(to left, transparent, #ffffff24, transparent); content: ''; bottom: 0px; } aside li i { font-size: 1.3rem; } .activeLink{ color:#80ed99 } .mySwiper { flex: 1; height: 100%; } .home-slide { color: white; display: flex; background-color: #343a40; } .HomeContent { margin: auto 0px; flex: 1; height: auto; padding: 100px; user-select: none; } .SideImg { width: 30%; margin: auto 10px; margin-right: 100px; position: relative; } .SideImg img { width: 100%; border-radius: 10px; } .SideImg .top-right-corner, .bottom-left-corner { position: absolute; } .bottom-left-corner { left: -50px; bottom: -50px; rotate: -90deg; } .top-right-corner { right: -50px; top: -50px; rotate: 90deg; } .hr1 { width: 150px; height: 10px; border: none; background: #80ed99; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } .hr2 { width: 10px; height: 120px; border-bottom-left-radius: 3px; background: #80ed99; border: none; border-bottom-right-radius: 3px; } .HomeContent h1 { font-size: 3em; font-weight: 700; margin-bottom: 10px; } .HomeContent h2 { font-size: 2.3em; margin-bottom: 10px; font-weight: 600; } .HomeContent h1 .stylized-name { font-weight: 700; color: #80ed99; } .proffesions { color: #85f69f; } .HomeContent .heroline { font-size: 1.5rem; font-weight: 300; padding-right:50px; } .buttonGroup { display: flex; padding: 10px 0px; margin-top: 10px; } .buttonGroup button ,.primary{ padding: 10px 20px; border: none; outline: none; font-size: 1.2rem; font-weight: 500; margin: 5px; cursor: pointer; background-color: #1d8637; color: white; border-radius: 5px; } .slide-help { position: absolute; bottom: 10px; width: 100%; text-align: center; font-weight: 400; z-index: 100; left: 0%; width: 100%; box-sizing: border-box; font-size: 1.2rem; } .mySwiper { width: 80vw; height: 100vh; overflow: hidden; background-color: #343a40; } .swiper-slide { width: 100%; background-color: #343a40; height: 100%; } .about-us { width:100%; height:100%; padding: 100px; color: white; } .heading { padding: 20px 10px; font-size: 2.5rem; color: #80ed99; } .about-us h3 { padding: 10px; } .aboutme-deatils { padding: 20px; font-weight: 300; } .about-me-divison { display: flex; } .about-me-table { width: 60%; display: grid; grid-template-columns: repeat(2, 50%); } .about-me-table li { padding: 20px; position: relative; } .about-me-table li::after { position: absolute; width: 100%; left: 0px; height: 1px; background: linear-gradient(to left, transparent, #ffffff77, transparent); content: ''; bottom: 0px; } .about-me-table span { color: #80ed99; font-weight: bold; margin-right: 5px; } .about-me-table .buttonGroup { grid-column: 1/span 2; justify-content: center; padding: 50px; flex: 1; } .skill-bar { width: calc(40% - 20px); } .skill-bar li { width: 100%; padding: 10px; } .skill-bar p { color: #80ed99; font-weight: bold; margin: 10px; } .skill-bar .bar { width: 100%; height: 15px; background-color: #272c30; border-radius: 20px; } .active-bar { background-color: #80ed99; height: 100%; width: auto; border-radius: 20px; } .services { color: white; display: grid; grid-template-columns: repeat(3, calc(34% - 10px)); grid-template-rows: 100px calc(50% - 50px) calc(50% - 50px); padding: 100px ; box-sizing: border-box; } .services .heading { grid-column: 1/span 3; } .services .service { display: flex; text-align: center; justify-content: center; padding: 15px; background-color: rgba(0, 0, 0, 0.437); border-radius: 5px; margin: 20px; backdrop-filter: blur(10px); flex-direction: column; transition-duration: 0.25s; } .services .service i { font-size: 3rem; color:#80ed99 } .services .service .service-icon { padding: 0px 50px; border-radius: 5px; margin: 20px auto; } .service h2{ color:#80ed99 } .service:hover { background-color: #80ed99; color: #176d2d } .service:hover h2,.service:hover i{ color: #176d2d } .gallery { display: grid; grid-template-columns: repeat(3, 33%); padding:100px; grid-template-rows: 100px calc(50% - 50px) calc(50% - 50px); } .gallery h1, .gallery h2 { grid-column: 1/span 3; } .gallery h2 { color: white; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0