Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save philipgledhill/f8c8c55a69d06a20c2f34dc69276da9f to your computer and use it in GitHub Desktop.
Save philipgledhill/f8c8c55a69d06a20c2f34dc69276da9f to your computer and use it in GitHub Desktop.
HTML code for simple Call to Action boxes
<div class="content-box-blue">
<h2>This is a content box</h2>
You could use these content boxes to draw attention to anything important on your website. You can easily change the color of the boxes or the buttons by changing the hexadecimal code in the CSS.
<a class="btn-orange" href="#">Click me</a>
</div>
<hr>
<div class="content-box-green">
<h2>This is a content box</h2>
You could use these content boxes to draw attention to anything important on your website. You can easily change the color of the boxes or the buttons by changing the hexadecimal code in the CSS.
<a class="btn-blue" href="#">Click me</a>
</div>
<hr>
<div class="content-box-gray">
<h2>This is a content box</h2>
You could use these content boxes to draw attention to anything important on your website. You can easily change the color of the boxes or the buttons by changing the hexadecimal code in the CSS.
<a class="btn-clear" href="#">Click me</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment