jQuery实现图文幻灯片切换动画效果代码
代码语言:html
所属分类:幻灯片
代码描述:jQuery实现图文幻灯片切换动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>绚丽banner切换特效</title> <meta name="description" content="Neat"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" user-scalable="no"> <style> html, body { min-height: 100%; background: white; } * { margin: 0; padding: 0; font-size: 14px; } ul { list-style: none; } .hide { display: none; } .lf { float: left; } .lr { float: right; } .red, .red a,.red a h5, .red a p { color: #FF0000 !important; } html { /* background: #f0efef; */ } a { text-decoration: none; color: inherit; } .main-group { max-width: 1000px; width: 740px; box-sizing: border-box; margin: 60px auto; display: flex; } .main-group .left-group { width: 250px; height: 313px; margin-right: 30px; position: relative; } .main-group .left-group img { width: 100%; position: absolute; left: 0; opacity: 1; transition: all .5s ease 0s; } .main-group .right-group { flex: 1; display: flex; align-items: center; position: relative; overflow: hidden; } .main-group .right-group .info-group { opacity: 1; transition: all .5s ease 0s; } .main-group .right-group .tag, .main-group .right-group .title, .main-group .right-group .desc, .main-group .right-group .note { width: 400px; margin-left: 0; } .main-group .right-group .tag { font-size: 10px; transition: all .5s.........完整代码请登录后点击上方下载按钮下载查看
网友评论0