Skip to content

Instantly share code, notes, and snippets.

@andreasvirkus
Created April 2, 2018 11:00
Show Gist options
  • Save andreasvirkus/5e439b09a187c3703d053e573ab10c76 to your computer and use it in GitHub Desktop.
Save andreasvirkus/5e439b09a187c3703d053e573ab10c76 to your computer and use it in GitHub Desktop.
Prepending a file name to a pre/code element
<style>
.file-desc::before {
content: "\2193 \00a0";
color: rgba(239,187,53,.6);
}
</style>
<p class="file-desc">someFile.js</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment