Created
September 19, 2012 09:13
-
-
Save fitorec/3748624 to your computer and use it in GitHub Desktop.
logo android en puro HTML & CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="es-MX"> | |
<head> | |
<title>logo android</title> | |
<meta http-equiv="content-type" content="text/html;charset=utf-8" /> | |
<style type="text/css" media="all"> | |
#perspective-container { position: absolute; top: 0px; width: 264px; height: 336px; background-color: rgba(0,0,0,.05); -moz-transform-style: preserve-3d; -moz-perspective: 800px;} | |
#android { position: absolute; top: 0px; width: 264px; height: 336px;} | |
#android .body { position: absolute; top: 110px; left: 48px; width: 168px; height: 152px; border-radius: 0px 0px 30px 30px; background-color: #ED8415;} | |
#android .head { position: absolute; top: 30px; left: 48px; width: 168px; height: 68px; border-top-left-radius: 50% 100%; border-top-right-radius: 50% 100%; background-color: #ED8415; } | |
#android .eyes { position: absolute; top: 25px; width: 168px; height: 20px;} | |
#android .eye {position: absolute; width: 20px; height: 20px; border-radius: 10px 10px 10px 10px; background-color: white;} | |
#android .eye.left { left: 38px; } #android .eye.right { right: 38px; } | |
#android .antenna { position: absolute; top: -22px; width: 6px; height: 32px; border-radius: 15px 15px 0px 0px; -moz-transform-origin: 50% 100%; background-color: #ED8415; } | |
#android .antenna.left {left: 56px; -moz-transform: rotate(-32deg); } | |
#android .antenna.right { right: 56px; -moz-transform: rotate(32deg); } | |
#android .arm { position: absolute; top: 110px; width: 36px; height: 114px; border-radius: 18px 18px 18px 18px; background-color: #ED8415; -moz-transform-origin: 50% 20%;} | |
#android .arm.left { left: 0px; } | |
#android .arm.right { left: 228px; } | |
#android .leg {position: absolute; top: 262px; width: 36px; height: 60px; border-radius: 0px 0px 18px 18px; background-color: #ED8415;} | |
#android .leg.left { left: 86px; } | |
#android .leg.right { right: 86px;} | |
</style> | |
</head> | |
<body> | |
<div id="perspective-container"> | |
<div id="android"> | |
<div class="body"></div> | |
<div class="head"> | |
<div class="eyes"> | |
<div class="eye left"></div> | |
<div class="eye right"></div> | |
</div> | |
<div class="antenna left"></div> | |
<div class="antenna right"></div> | |
</div> | |
<div class="arm left"></div> | |
<div class="arm right"></div> | |
<div class="leg left"></div> | |
<div class="leg right"></div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment