CSS3 only Turret from Portal
How do I make an css3 only turret from portal?
Are you still there?. What is a css3 only turret from portal? How do you make a css3 only turret from portal? This script and codes were developed by Kevin Gimbel on 27 October 2022, Thursday.
CSS3 only Turret from Portal - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS3 only Turret from Portal</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper"> <div class="turret-body"> <div class="turret-eye"></div> <div class="turret-arm-body-conection"></div> <div class="turret-arm left-arm"></div> <div class="turret-arm right-arm"></div> </div> <div class="turrent-left-leg-top"></div> <div class="turrent-left-leg-bottom"></div> <div class="turrent-right-leg-top"></div> <div class="turrent-right-leg-bottom"></div> <div class="turrent-third-leg"></div>
</div> <div class="credit"> <p>2013 by <a href="https://twitter.com/_kevinatari">Kevin Gimbel</a>. Feel free to create new things based on it or optimize my work. I'd be happy if you link to this Pen as soon as you use the code in any way. Thanks <span class="red">♥</span></p>
</div> <!-- credit --> <script src="js/index.js"></script>
</body>
</html>
CSS3 only Turret from Portal - Script Codes CSS Codes
/* Codepen.io credits */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);
.credit { width: 500px; margin: 20px auto; padding: 10px 20px; background: #f1f1f1; color: #000000; font-size: 0.75em; font-family: 'Open Sans', sans-serif; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.6); -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.6);
}
a { color: #ab3e5b; text-decoration: none;
}
a:hover { color: #222222; border: none;
}
.red { color: #7a0208;
}
/* END Codepen.io credits*/
/* ---------------------- T U R R E T C S S ---- */
* { position: relative;
}
body { background: #ddd;
}
.wrapper { width: 15em; height: auto; margin: 20px auto 270px auto;
}
.turret-body { width: 240px; height: 560px; position: relative; background: -webkit-linear-gradient(left, #fff 49%, #ddd, #fff 51%); background: -moz-linear-gradient(left, #fff 49%, #ddd, #fff 51%); border-radius: 50%;
}
.turret-eye { width: 80px; height: 80px; position: absolute; left: 50%; top: 50%; margin-left: -2.5em; margin-top: -2.5em; background: #BA2A29; background: -webkit-radial-gradient(center, #BA2A29 47%, #d54241, #BA2A29 54%); border-radius: 50%;
}
.turret-arm { width: 90px; height: 450px; position: absolute; background: #fff; z-index: -2;
}
.turret-arm-body-conection { height: 20px; width: 350px; position: absolute; top: 50%; left: 50%; margin-top: -10px; margin-left: -175px; background: #222; z-index: -1;
}
.left-arm { top: 70px; left: -115px; border-top-left-radius: 50%; border-bottom-left-radius: 50%;
}
.left-arm:after { content: ''; width: 50px; height: 450px; disply: block; position: absolute; top: 0px; right: -20px; background: #ddd; border-top-left-radius: 50%; border-bottom-left-radius: 50%;
}
.right-arm { top: 70px; right: -115px; border-top-right-radius: 50%; border-bottom-right-radius: 50%;
}
.right-arm:before { content: ''; width: 50px; height: 450px; disply: block; position: absolute; top: 0px; left: -20px; background: #ddd; border-top-right-radius: 50%; border-bottom-right-radius: 50%;
}
.turrent-left-leg-top { width: 50px; height: 150px; background: #fff; position: absolute; left: 20px; top: 500px; -webkit-transform: rotate(45deg);
}
.turrent-right-leg-top { width: 50px; height: 150px; background: #fff; position: absolute; right: 20px; top: 500px; -webkit-transform: rotate(-45deg);
}
.turrent-left-leg-bottom { width: 25px; height: 150px; background: #1D2124; position: absolute; left: -40px; top: 610px; -webkit-transform: rotate(15deg); z-index: -1;
}
.turrent-left-leg-bottom:before { content: ''; width: 0; height: 0; disply: block; position: absolute; top: 149px; left: 0px; border-top: 50px solid #1D2124; border-left: 20px solid transparent; border-right: 5px solid transparent;
}
.turrent-right-leg-bottom { width: 25px; height: 150px; background: #1D2124; position: absolute; right: -40px; top: 610px; -webkit-transform: rotate(-15deg); z-index: -1;
}
.turrent-right-leg-bottom:after { content: ''; width: 0; height: 0; disply: block; position: absolute; top: 149px; left: 0px; border-top: 50px solid #1D2124; border-left: 5px solid transparent; border-right: 20px solid transparent;
}
.turrent-third-leg { width: 25px; height: 150px; background: #1D2124; position: absolute; left: 106px; top: 500px; z-index: -1;
}
.turrent-third-leg:before { content: ''; width: 0; height: 0; disply: block; position: absolute; top: 149px; left: 0px; border-top: 40px solid #1D2124; border-left: 13px solid transparent; border-right: 12px solid transparent;
}
CSS3 only Turret from Portal - Script Codes JS Codes
// If you're good with JS you may want to fork this pen and add a "laser detection" to the turret's eye that follows the mouse. Would be awesome though.
Developer | Kevin Gimbel |
Username | kevingimbel |
Uploaded | October 27, 2022 |
Rating | 3 |
Size | 3,910 Kb |
Views | 44,528 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
ViewSwitcher | 4,203 Kb |
Nerdli.st | 5,688 Kb |
CSS Pre-Block Overflow example | 2,482 Kb |
An Object-Oriented ToDo-List | 5,275 Kb |
CSS3 only Aperture Science Retro Logo | 4,115 Kb |
CSS3 only classic Gameboy | 6,134 Kb |
Blurring Content when Dialog triggers | 5,054 Kb |
Slide Menu | 3,725 Kb |
Alternative Image Classes in Markdown | 6,385 Kb |
A Pen by Kevin Gimbel | 2,671 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Learning canvas drawing | Aurer | 2,204 Kb |
Polygon Dodecahedron in CSS | Vennsoh | 7,606 Kb |
Wikipedia Viewer | Thomasvaeth | 2,549 Kb |
A Pen by Adrien Clerbois | AClerbois | 6,501 Kb |
Emberjs Bootstrap Modal Carousel | Somethingkindawierd | 4,233 Kb |
Two column of responsive height | Fixie | 2,908 Kb |
NeeilTimer | Neeilan | 2,836 Kb |
The Walking Raymarcher | Xorxor_hu | 7,934 Kb |
Bootstrap 4 Gridsystem Demo | Rivella50 | 1,535 Kb |
Ipad Mini Showcase | Hornebom | 10,479 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!