How do you prevent line numbers in a code snippet from being selected/copied to…

How do you prevent line numbers in a code snippet from being selected/copied to clipboard?

A CSS-only solution:
http://ift.tt/1EEOQr3

Prevent an element from being selected and copied with CSS
danoc.me
How to use pseudo-elements, data attributes, and CSS's content property to prevent text from being selected and copied.

more @ http://ift.tt/1GzGyQ5

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s