6-315/blog/static/common/zhan.css

148 lines
2.7 KiB
CSS

.main {
animation-name:animate1;
position: absolute;
left:44%;
top:28%;
box-shadow: 0 0 10px green;
width: 240px;
height: 240px;
color: #fff;
/* 圆角形成圆形 */
border-radius: 50%;
/* 实现顶部圆弧 */
border-bottom: 5px solid chartreuse;
display: flex;
justify-content: center;
align-items: center;
/* 增加动画 */
animation: animate 1s linear infinite;
}
.main::after, .main::before {
position: absolute;
content: "";
width: 100%;
height: 100%;
left: 0;
top: -5px;
border-radius: 50%;
border-bottom: 5px solid transparent;
/* background-color: wheat; */
}
/* 创建动画关键帧,实现旋转 */
@keyframes animate1 {
0% {
transform: rotate(-0deg);
}
100% {
transform: rotate(-360deg);
}
}
.tupain{
position: absolute;
left:45%;
top:30%;
width: 200px;
height: 200px;
color: #fff;
/* 圆角形成圆形 */
border-radius: 50%;
background: url("../img/22.jpg");
opacity: 0.5;
}
.blog_1{
width: 110px;
height: 40px;
border-radius: 25px;
position: absolute;
left: 53%;
top: 28%;
background: white;
opacity: 0.5;
}
.blog_text{
margin-left: 27px;
font-size: 25px;
list-style-type: none;
font-family: 'Microsoft Yahei', '宋体', arial, 'Hiragino Sans GB', Helvetica;
}
.main2 {
position: absolute;
left:42.4%;
top:25.5%;
box-shadow: 0 0 10px pink;
width: 300px;
height: 300px;
color: #fff;
/* 圆角形成圆形 */
border-radius: 50%;
/* 实现顶部圆弧 */
border-bottom: 5px solid pink;
display: flex;
justify-content: center;
align-items: center;
/* 增加动画 */
}
.loader {
animation-name:animate;
position: absolute;
left:45%;
top:30%;
box-shadow: 0 0 10px blue;
width: 200px;
height: 200px;
color: #fff;
/* 圆角形成圆形 */
border-radius: 50%;
/* 实现顶部圆弧 */
border-top: 5px solid cornflowerblue;
border-bottom: 5px solid transparent;
display: flex;
justify-content: center;
align-items: center;
/* 增加动画 */
animation: animate 1s linear infinite;
}
.loader::after, .loader::before {
position: absolute;
content: "";
width: 100%;
height: 100%;
left: 0;
top: -5px;
border-radius: 50%;
border-bottom: 4px solid transparent;
/* background-color: wheat; */
}
@keyframes animate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.navbar navbar-expand-lg navbar-dark bg-dark{
opacity: 0;
}