.name::before { content: "Before: "; } .name::after { content: '...'; }