Skip to content

Instantly share code, notes, and snippets.

@DeviaVir
Created August 7, 2012 07:37
Show Gist options
  • Save DeviaVir/3282850 to your computer and use it in GitHub Desktop.
Save DeviaVir/3282850 to your computer and use it in GitHub Desktop.
DualDev Logo
/**
* 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: 99px
}
.dualdev.black {
background: black;
}
.dualdev.white {
background: white;
}
.dualdev.transparent {
background: transparent;
}
.dualdev .logo {
position: absolute;
top: 50%;
right: 10px;
width: 63px;
height: 78px;
margin-top: -39px;
background: transparent url( 'https://www.dualdev.com/skin/1/images/logos/transparent_black-DD.png' ) no-repeat 0 0;
}
.dualdev .logo.white {
background-image: url( 'https://www.dualdev.com/skin/1/images/logos/transparent_white-DD.png' );
}
/* Retina */
@media all and (-webkit-min-device-pixel-ratio: 2) {
.dualdev .logo {
background-image: url( 'https://www.dualdev.com/skin/1/images/logos/[email protected]' );
background-size: 63px 78px;
}
.dualdev .logo.white {
background-image: url( 'https://www.dualdev.com/skin/1/images/logos/[email protected]' );
background-size: 63px 78px;
}
}
<div class="dualdev logo transparent">
<a href="https://www.dualdev.com/" title="DualDev" target="_blank" class="logo white"></a>
</div>
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment