css+div实现灯牌霓虹灯旋转动画效果代码

代码语言:html

所属分类:动画

代码描述:css+div实现灯牌霓虹灯旋转动画效果代码

代码标签: css div 灯牌 霓虹灯 旋转 动画

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

<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
<style>
    @import url('https://fonts.googleapis.com/css?family=Montserrat:400');

body{
  background-color:#3c3c3e;
  font-family : 'Montserrat', Arial;
}
.bulb-board-wrapper {
    display: inline-flex;
    transform: scale(1) translate(-50%, -50%);
    transition: transform 0.05s linear;
    position:absolute;
    left:50%;
    top:50%;
    tranform:translate(-50%,-50%);
}
.bulb-board-wrapper:active{
    transform: scale(0.7);
}
.btn {
    font-size: 1.3em;
    text-align: center;
    text-decoration: none;
    color: rgba(254, 234, 145, 1);
    /* background: #241454; */
    background: rgba(77, 76, 84, 1);
    outline: none;
    position: relative;
    display: inline-block;
    padding: 10px 22px;
    cursor: pointer;
    width: auto;
    box-shadow: inset 1px -1px 7px -1px #000;
}
.btn:active{
	box-shadow: inset -1px -1px 7px -1px #000;
} 
.bulb-board {
    position: relative;
    display: inline-block;
    padding: 15px;
    /* back.........完整代码请登录后点击上方下载按钮下载查看

网友评论0