Skip to content

Instantly share code, notes, and snippets.

View thaDev404's full-sized avatar
💭
Write Code and Keep Calm

1x Developer thaDev404

💭
Write Code and Keep Calm
View GitHub Profile
@stephenharris
stephenharris / copy-pre.css
Last active May 8, 2023 06:46
Adding a 'copy' button to <pre> content
.pre-wrapper{
position:relative;
}
.pre-wrapper pre{
padding-top: 25px;
}
.pre-wrapper .copy-snippet {
border-radius: 0;
min-width:55px;
background: none repeat scroll 0 0 transparent;