Skip to content

Instantly share code, notes, and snippets.

@tw-Frey
Created November 23, 2018 13:40
Show Gist options
  • Select an option

  • Save tw-Frey/2ee84983a709544b2983c63cca12c8b9 to your computer and use it in GitHub Desktop.

Select an option

Save tw-Frey/2ee84983a709544b2983c63cca12c8b9 to your computer and use it in GitHub Desktop.
$("<style id=OVER_API_23/>")
.append([23,24,25,26,27,28].map(api=>'[data-version-added="'+api+'"]').map(dom=>dom+dom+" *").join(","))
.append("{color:red!important}")
.appendTo("html")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment