Markdown Code Blocks CSS

Add some style to your markdown code blocks using CSS.

Your code block should be wrapped with ``` code goes here ```.

CSS

pre {
  font-family: monospace;
  font-size: 1em;
  overflow-x: scroll;
  background: #333;
  padding: 2rem;
  color: #fff;
  border-radius: 1em;
  width: 100%;
  margin: 2em auto;
}
Brandon Himpfen
Blogger. Developer. Designer. Programmer. Photographer. Traveller. Digital Marketer. Gamer.