Skip to content

Instantly share code, notes, and snippets.

@NickColley
Created July 3, 2018 16:55
Show Gist options
  • Save NickColley/132235bd6f570be1c76e0ee876a96f1f to your computer and use it in GitHub Desktop.
Save NickColley/132235bd6f570be1c76e0ee876a96f1f to your computer and use it in GitHub Desktop.
Customised colours - Panel example
<!-- This code example is not the same as GOV.UK Frontend, and is just for demonstration -->
<style>
.panel {
box-sizing: border-box;
height: 100px;
width: 100px;
border: 3px solid black;
background: black;
color: white;
/* Center text for demo */
text-align: center;
line-height: 100px;
}
</style>
<div class="panel">
Panel
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment