我有这个网站: https: //acanhs.org/nhs-articles.html 出于某种原因,容器都有不同的尺寸。我怎样才能让他们都一样,使我的网站更具视觉吸引力。
这是我的 HTML:
img.article {
float: left;
width: 300px;
height: 300px;
object-fit: cover;
}
a:link {
color: Black;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: Black;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: Black;
background-color: transparent;
text-decoration: none;
}
a:active {
color: Black;
background-color: transparent;
text-decoration: none;
}
</style><title>Stand Blog Posts</title><link href="bootstrap.min.css" rel="stylesheet"><style>.btn {
width: 150px;
height: 150px;
background: #ddd;
position: relative;
text-align: center;
margin: 15px;
overflow: hidden;
border-radius: 100%;
display: inline-block;
}
.btn.download {
background: #00CCFF;
}
.btn.download .cloud {
box-shadow: 0px 0px #00a3cc, 1px 1px #00a3cc, 2px 2px #00a3cc, 3px 3px #00a3cc, 4px 4px #00a3cc, 5px 5px #00a3cc, 6px 6px #00a3cc, 7px 7px #00a3cc, 8px 8px #00a3cc, 9px 9px #00a3cc, 10px 10px #00a3cc, 11px 11px #00a3cc, 12px 12px #00a3cc, 13px 13px #00a3cc, 14px 14px #00a3cc, 15px 15px #00a3cc, 16px 16px #00a3cc, 17px 17px #00a3cc, 18px 18px #00a3cc, 19px 19px #00a3cc, 20px 20px #00a3cc, 21px 21px #00a3cc, 22px 22px #00a3cc, 23px 23px #00a3cc, 24px 24px #00a3cc, 25px 25px #00a3cc, 26px 26px #00a3cc, 27px 27px #00a3cc, 28px 28px #00a3cc, 29px 29px #00a3cc, 30px 30px #00a3cc, 31px 31px #00a3cc, 32px 32px #00a3cc, 33px 33px #00a3cc, 34px 34px #00a3cc, 35px 35px #00a3cc, 36px 36px #00a3cc, 37px 37px #00a3cc, 38px 38px #00a3cc, 39px 39px #00a3cc, 40px 40px #00a3cc, 41px 41px #00a3cc, 42px 42px #00a3cc, 43px 43px #00a3cc, 44px 44px #00a3cc, 45px 45px #00a3cc, 46px 46px #00a3cc, 47px 47px #00a3cc, 48px 48px #00a3cc, 49px 49px #00a3cc, 50px 50px #00a3cc;
}
.btn.download .arrow {
-webkit-animation: download 1s linear infinite;
animation: download 1s linear infinite;
}
.btn.upload {
background: #F49845;
}
我已经删除了不必要的项目,例如页眉和页脚。但是你应该能够用代码看到一切
慕桂英4014372
大话西游666
相关分类