<!DOCTYPE html> <style> .test::after { content:"::after content"; } </style> <button class="test"> Button contents </button>