css-pseudo-element-selection
RUN
<!DOCTYPE html> <html> <head> <style> ::-moz-selection { color: red; background: yellow; } ::selection { color: red; background: yellow; } </style> </head> <body> <p>Đây là phần tử p.</p> <div>Đây là phần tử div.</div> <span>Đây là phần tử span</span> </body> </html>
PHÓNG TO