Skip to content

Instantly share code, notes, and snippets.

@dannycjones dannycjones/code.css
Last active Aug 29, 2015

Embed
What would you like to do?
Code Formatting for Smugmug
div.code div pre {
margin: 0;
padding: 6px 12px;
}
div.code > div {
margin: 5px 10px;
background-color: #1A1A1A;
border-color: #212121;
border-style: solid;
border-width: 1px;
color: #DEDEDE;
width: auto;
}
div.code > div > div {
margin-right: 12px !important;
overflow: scroll;
width: auto;
}
div.code {
overflow: none;
}
div.code::before {
Content: "Code:";
}
<div class="code">
<div>
<div>
<pre>Hello sdfghjk dfghgfdfghugytfrdedftyghuihygtf ftguyfghugytfrdedftyg huihygtf ftguyfghuhjdkjsglknsbhfjdkjlsfdmgjggyt frdedftyghuihygtf ftguyui
hm
well now
</pre></div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.