css悬停文字弹出效果
代码语言:html
所属分类:悬停
代码描述:css悬停文字弹出效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/bootstrap.4.3.1.min.css">
<style>
.card {
overflow: hidden;
}
.card-reveal .card-body {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
bottom: 0;
height: 100%;
width: 100%;
text-align: center;
}
.card-reveal .card-body .card-title {
font-size: .75rem;
margin: 0;
text-transform: uppercase;
font-weight: bolder;
color: #4d4d4d;
}
.card-reveal .card-body {
height: 100%;
bottom: -100%;
-webkit-transition: botto.........完整代码请登录后点击上方下载按钮下载查看
网友评论0