Skip to content

Instantly share code, notes, and snippets.

@melbahja
Created February 5, 2020 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save melbahja/0c6e42064c18ae5e5569566fcd219276 to your computer and use it in GitHub Desktop.
Save melbahja/0c6e42064c18ae5e5569566fcd219276 to your computer and use it in GitHub Desktop.
gjLpLq
<div class="hub">
<span contenteditable="true">Anony</span>
<span contenteditable="true">Viet</span>
</div>
html {
height: 100%;
}
body {
background: #000000;
color: #ffffff;
margin: 0;
min-height: 100%;
height: 100%;
position: relative;
}
.hub {
display: block;
font-family: sans-serif;
font-weight: bold;
font-size: 5vw;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.hub span:nth-child(2) {
background: #FF9900;
color: #000000;
border-radius: 1vw;
padding: 0 1vw 1vw 1vw;
display: inline-block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment