Skip to content

Instantly share code, notes, and snippets.

@mhf-ir
Created November 28, 2020 22:15
Show Gist options
  • Save mhf-ir/3e889744a95e749972aa8b7ab70bce13 to your computer and use it in GitHub Desktop.
Save mhf-ir/3e889744a95e749972aa8b7ab70bce13 to your computer and use it in GitHub Desktop.
document.write('<style>.sample-class { color: red; }</style>');
document.write('<p class="sample-class">this must be printed and red</p>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment