Cutaway Indicator

Developer
Size
2,435 Kb
Views
28,336

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 Previews

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);
}
Cutaway Indicator - Script Codes
Cutaway Indicator - Script Codes
Home Page Home
Developer Chris Burnell
Username chrisburnell
Uploaded September 16, 2022
Rating 3
Size 2,435 Kb
Views 28,336
Do you need developer help for Cutaway Indicator?

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!

Chris Burnell (chrisburnell) Script Codes
Create amazing video scripts with AI!

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!