jquery+css实现按钮点击弹出文字提示动画效果代码

代码语言:html

所属分类:弹出层

代码描述:jquery+css实现按钮点击弹出文字提示动画效果代码

代码标签: jquery css 按钮 点击 弹出 文字 提示 动画

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

<!DOCTYPE html>
<html lang="en" >
<head>
 
<meta charset="UTF-8">
<style>
    body {
    background: #4E6577; /* Old browsers */
    font-size: 120%;
    font-family: 'Ubuntu Condensed', sans-serif;
    padding: 0px;
    margin: 0px;
    box-shadow: inset 0px 0px 165px 120px rgba(0,0,0,0.5);
}
.container {
  width: 200px;
  height: 200px;
  position: fixed;
  right:12%;
  top:3%;
  perspective: 500px;
  -webkit-perspective: 500px;
}
.popupmsg {
    position: absolute;
    bottom: 25px;
    left: -95px;
    width: 200px;
    height: 100px;
    background: #000;
    border: 1px solid #d1d1d1;
}
.popupmsg p {
    display: block;
    margin:15px;
    font-size:16px;
}
.popupmsg:after {
    content: "";
    width:0px;
    height:0px;
    border-left:12px solid transparent;
    border-right:12px solid transparent;
    border-top:12px solid #fff;
    position:absolute;
    bottom:-12px;
    left: 50%;
    margin-left: -12px;
}
#content {
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    background: -moz-linear-gradient(top,  rgba(174,188,191,0.5) 0%, rgba(110,119,116,0.5) 50%, rgba(10,14,10,0.5) 51%, rgba(10,8,9,0.5) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(174,188,191,0.5)), color-stop(50%,rgba(110,119,116,0.5)), color-stop(51%,rgba(10,14,10,0.5)), color-stop(100%,rgba(10,8,9,0.5))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(174,188,191,0.5) 0%,rgba(110,119,116,0.5) 50%,rgba(10,14,10,0.5) 51%,rgba(10,8,9,0.5) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(174,188,191,0.5) 0%,rgba(110,119,116,0.5) 50%,rgba(10,14,10,0.5) 51%,rgba(10,8,9,0.5) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(174,188,191,0.5) 0%,rgba(110,119,116,0.5) 50%,rgba(10,14,10,0.5) 51%,rgba(10,8,9,0.5) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(174,188,191,0.5) 0%,rgba(110,119,116,0.5) 50%,rgba(10,14,10,0.5) 51%,rgba(10,8,9,0.5) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80aebcbf', endColorstr='#800a0809',GradientType=0 ); /* IE6-9 */
}


.box {
    position:fixed;
    height:50px;
    width:200px;
    border:2px solid #fff;
    top:50%;
    left:50%;
    margin-top:-25px;
    margin-left:-100px;
    border-radius:9px;
    border-top-left-radius:0px;
}
.box:hover {
    cursor: pointer;
    animation: white-outer-pulse-frames 1s linear infinite;
    -webkit.........完整代码请登录后点击上方下载按钮下载查看

网友评论0