元素开始位置添加元素
:before{
content: '开始位置';
color: red;
}
元素结束位置添加元素
:after{
content: '结束位置';
color: red;
}
添加一个带背景的元素
:before{
content: '';
width: 100px;
height: 100px;
background-image: url('../图片路径.png');
background-size: 100% 100%;
}