Skip to content

Instantly share code, notes, and snippets.

@bfodeke
Created July 24, 2013 03:15
Show Gist options
  • Save bfodeke/6067833 to your computer and use it in GitHub Desktop.
Save bfodeke/6067833 to your computer and use it in GitHub Desktop.
QCIT Experimental CSS Logo
/**
* QCIT Experimental CSS Logo
*/
@import url(http://fonts.googleapis.com/css?family=Rammetto+One);
.logoback, .city{
width:250px;
height:250px;
border-radius:50%;
}
.logoback{
border:10px solid #51a19f;
box-shadow:inset 0 0 10px 5px #000;
}
.logoback .city{
background:url(http://www.vectorsland.com/imgd/l28425-frankfurt-skyline-17062.jpg) repeat-x center bottom #444;
animation: scroll 10s linear infinite;
position:relative;
overflow:hidden;
}
.logoback .city .bottom-text{
position:absolute;
bottom:-40px;
text-align:center;
width:100%;
color:#fff;
font-size:10em;
line-height:1em;
font-family: 'Rammetto One';
}
@keyframes scroll {
from { background-position:0 bottom; }
to { background-position:100% bottom; }
}
<div class="logoback">
<div class="city">
<div class="top-text">QUEEN CITY</div>
<div class="bottom-text">IT</div>
</div>
</div>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment