css+div实现图片立体旋转悬浮变彩色效果代码

代码语言:html

所属分类:动画

代码描述:css+div实现图片立体旋转悬浮变彩色效果代码

代码标签: css div 图片 立体 旋转 悬浮 彩色

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  

  
  
  
<style>
/*
vars
*/
:root {
		--carousel-transition-duration: 250ms;
		--carousel-transition-ease: ease-out;
		--carousel-bg-color-rgb: 0, 0, 0;
		--carousel-shadow-color-rgb: 128, 128, 128;
		--carousel-item-width: 11.5rem;
		--carousel-item-height: 17.5rem;
		--carousel-item-hover-effect: 1.075;
		--carousel-item-reflection-blur: 0.25rem;
		--carousel-item-empty-color-rgb: 255, 255, 255;
		--carousel-item-glow-color-rgb: 255, 255, 255;
		--carousel-item-glow-size: 5rem;
		--carousel-diameter: 50rem;
		--carousel-3d-perspective: 1000px;
		--carousel-3d-perspective-origin: 50% 20%;
		--carousel-control-button-width: 1.25rem;
		--carousel-control-button-height: 4rem;
		--carousel-control-color-rgb: 255, 255, 255;
		--carousel-animation-duration: 25s;
		--carousel-animation-play-state: running;
		--carousel-direction-animation-play-state: paused;
}

/*
global
*/
*, *::before, *::after {
		margin: 0;
		padding: 0;
		border: 0;
		box-sizing: border-box;
}

*:focus {
		outline: none;
}

a {
		-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
		-webkit-tap-highlight-color: transparent;
		-web.........完整代码请登录后点击上方下载按钮下载查看

网友评论0