Cutaway Indicator
How do I make an cutaway indicator?
How to simulate a cutaway section of a box.. What is a cutaway indicator? How do you make a cutaway indicator? This script and codes were developed by Chris Burnell on 16 September 2022, Friday.
Cutaway Indicator - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Cutaway Indicator</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <button>Hover Me</button> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Cutaway Indicator - Script Codes CSS Codes
html,
body { height: 100%; position: relative;
}
body { background-color: rebeccapurple; background-image: -webkit-linear-gradient(transparent 0%, coral 100%); background-image: linear-gradient(transparent 0%, coral 100%); font: 400 normal 24px/2em sans-serif;
}
button { background-color: gray; color: white; display: block; overflow: visible; padding: 1em 2em 1em 1em; border: 0; position: absolute; top: 50%; left: 50%; text-decoration: none; font-weight: 600; -webkit-transform: translate3d(-50%, -50%, 0); transform: translate3d(-50%, -50%, 0);
}
button:before, button:after { content: ""; width: 0; height: 0; border-right: 2.5em solid gray; position: absolute; right: 100%; -webkit-transition: all .5s; transition: all .5s;
}
button:before { border-bottom: 3em solid transparent; top: 0;
}
button:hover:before, button:focus:before { border-right-color: rgba(0, 128, 0, 0.6);
}
button:after { border-top: 3em solid transparent; bottom: 0;
}
button:hover:after, button:focus:after { border-right-color: rgba(255, 165, 0, 0.6);
}
Developer | Chris Burnell |
Username | chrisburnell |
Uploaded | September 16, 2022 |
Rating | 3 |
Size | 2,435 Kb |
Views | 28,336 |
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 |
Category Hover Demo | 3,469 Kb |
Clock Face Idea | 3,196 Kb |
Slip-n-slide Modal | 3,316 Kb |
Student Charter Demo for City University | 5,837 Kb |
Simple CSS Checkbox | 2,797 Kb |
Zoomy Anchor Thing | 2,680 Kb |
The power of transform for centering - INTERACTIVE | 2,439 Kb |
Simple CSS Checkbox | 3,244 Kb |
Interaction Jazz | 11,103 Kb |
Infinite Square | 2,937 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 |
Konami Code Easter Egg | Teolitto | 3,051 Kb |
Simple animated hover effect | Pobee-norris | 3,044 Kb |
Minimelephant | Smashlee | 2,507 Kb |
SCSS Unit Conversion | Jakob-e | 8,210 Kb |
Mini Profile | Frytyler | 3,828 Kb |
Buttons with style | Chbymnky | 2,082 Kb |
Canvas Orbital Trails v2 | Jackrugile | 3,421 Kb |
Starfield old school style | Bolloxim | 5,214 Kb |
Portfolio Page | KaylaMT | 1,983 Kb |
Svg penguin | _massimo | 2,990 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!