我需要实现一条垂直线,如下图所示。提前致谢
.root_class {
display: flex;
justify-content: center;
align-items: center;
width: 75%;
margin: 0 auto;
border: thin solid #ccc;
}
.text {
font-size: 3rem;
margin: 0;
margin-right: 10rem;
}
.percentile-card {
transition: 0.3s;
margin: 1rem;
padding: 5px;
}
.percentile-card p {
margin: 0;
}
.percentile-card p:first-child {
color: #bbb;
}
<div class="root_class rhs-background">
<p class="text">Where Do i Stand Overall ?</p>
<hr width="1" size="500">
<div class="percentile-card text-center">
<h4>You did better Than</h4>
<i class="fa fa-users pull-left" style="margin-left: 40px;" aria-hidden="true"></i>
<h5><b>60%</b></h5>
</div>
</div>
www说
函数式编程
Helenr
湖上湖
相关分类