Skip to content

Instantly share code, notes, and snippets.

@DeviaVir
Last active October 8, 2015 05:08
Show Gist options
  • Save DeviaVir/3282890 to your computer and use it in GitHub Desktop.
Save DeviaVir/3282890 to your computer and use it in GitHub Desktop.
Hosted, with love, by DualDev Logo
/**
* Hosted, with love, by DualDev Logo
*/
html, body {
height: 100%;
}
body {
margin: 0;
padding: 0;
background: #f4f4f4;
/*background: #333;*/
min-height: 100%;
position: relative;
}
.dualdev {
position: absolute;
bottom: 0;
right: 0;
width: 151px;
height: 30px
}
.dualdev.black {
background: black;
}
.dualdev.white {
background: white;
}
.dualdev.transparent {
background: transparent;
}
.dualdev .logo {
position: absolute;
top: 50%;
right: 10px;
width: 121px;
height: 18px;
margin-top: -9px;
background: transparent url( 'https://www.dualdev.com/skin/1/img/logos/transparent_black-love.png' ) no-repeat 0 0;
background-position: 0 -23px
}
.dualdev .logo.white {
background-image: url( 'https://www.dualdev.com/skin/1/img/logos/transparent_white-love.png' );
}
/* Retina */
@media all and (-webkit-min-device-pixel-ratio: 2) {
.dualdev .logo {
background-image: url( 'https://www.dualdev.com/skin/1/img/logos/[email protected]' );
background-size: 151px 36px;
}
.dualdev .logo.white {
background-image: url( 'https://www.dualdev.com/skin/1/img/logos/[email protected]' );
background-size: 151px 36px;
}
}
<div class="dualdev logo transparent">
<a href="https://www.dualdev.com/" title="DualDev" target="_blank" class="logo"></a>
</div>
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment