p:after{ content:welcome to css"; color:red; } after 选择器,所有p元素后面插入新内容 转载于:https://www.cnblogs.com/ljw7pm/p/3618381.html