用内容生成实现数字排序样式

来源:互联网 发布:mmd走路动作数据下载 编辑:程序博客网 时间:2024/06/14 04:21

这是我实现的效果,留作保存.

以下是代码:

html:

做最好的自己,就不要每天抱怨自己的胆怯和懒惰,要做自己想做并且喜欢做的事情,和喜欢的人在一起, 将自己最好的状态展现在自己喜欢的人的面前,保持一个好的年轻的状态,尽量展现最好的自己,你需要更加的踏实和认真. 阳光是照射着你的脸颊的,为何要背向者它呢?
css:
.eg-1 {    display: table-cell;    vertical-align: middle;}.box-bg {    width: 300px;    height: 150px;    padding: 5px 20px;    background: #eee;    text-align: justify;    border-left: 4px solid orangered;    position: relative;}.box-bg:before {    content: "1";    position: absolute;    width: 26px;    height: 26px;    border-radius: 100%;    background: orangered;    color: #fff;    left: -15px;    top: 12px;    text-align: center;    line-height: 26px;    font-weight: bold;}


0 0