<style type="text/css">
p::before{
content: "今天";
width: 100px;
height: 100px;
display: block;
background: red;
}
p::after{
content:"星期日";
width: 100px;
height: 100px;
background: red;
display: block;
}
</style>
</head>
<body>
<p>是</p>
</body>
before和after的使用
最新推荐文章于 2024-05-06 19:37:22 发布