Pure CSS cut corner box test
How do I make an pure css cut corner box test?
Bordered box with cut corner and hover effect, PureCSS. What is a pure css cut corner box test? How do you make a pure css cut corner box test? This script and codes were developed by Vincenzo on 07 October 2022, Friday.
Pure CSS cut corner box test - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure CSS cut corner box test</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ * { padding: 0; margin: 0;
}
.test { position: relative; width: 269px; height: 90px; background: coral; margin: 20px;
}
.test:before { content: " "; position: absolute; bottom: 0px; right: 0px; width: 210px; height: 100%; background: #bbb;
}
.test:hover:before { background: inherit;
}
.test:after { content: " "; position: absolute; bottom: 0px; right: 0px; width: 0px; height: 0px; border: 15px solid black; border-color: transparent white white transparent;
}
.test .cover { position: absolute; width: 180px; height: 88px; top: 1px; background: white; right: 31px;
}
.test .cover:before { content: " "; position: absolute; top: 0px; right: -30px; width: 30px; height: 58px; background: white;
}
.test .cover:after { content: " "; position: absolute; bottom: 0px; right: -30px; width: 0px; height: 0px; border: 15px solid black; border-color: white transparent transparent white;
}
.test .eyelet { border-radius: 50%; background: white; border: 1px solid #bbb; width: 30px; height: 30px; position: absolute; top: 10px; right: 10px;
}
.test:hover .eyelet { background-color: inherit; border-color: transparent;
}
.test .attitle_container { position: absolute; left: 79px; right: 40px; width: 150px; height: 100%; top: 0; bottom: 0; display: inline-table;
}
.test .attitle { display: table-cell; width: 100%; height: 100%; vertical-align: middle; color: black; text-transform: uppercase;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="test"> <div class="cover"> </div> <div class="eyelet"> </div> <div class="attitle_container"> <div class="attitle"> A long multiline label </div> </div>
</div>
</body>
</html>
Pure CSS cut corner box test - Script Codes CSS Codes
* { padding: 0; margin: 0;
}
.test { position: relative; width: 269px; height: 90px; background: coral; margin: 20px;
}
.test:before { content: " "; position: absolute; bottom: 0px; right: 0px; width: 210px; height: 100%; background: #bbb;
}
.test:hover:before { background: inherit;
}
.test:after { content: " "; position: absolute; bottom: 0px; right: 0px; width: 0px; height: 0px; border: 15px solid black; border-color: transparent white white transparent;
}
.test .cover { position: absolute; width: 180px; height: 88px; top: 1px; background: white; right: 31px;
}
.test .cover:before { content: " "; position: absolute; top: 0px; right: -30px; width: 30px; height: 58px; background: white;
}
.test .cover:after { content: " "; position: absolute; bottom: 0px; right: -30px; width: 0px; height: 0px; border: 15px solid black; border-color: white transparent transparent white;
}
.test .eyelet { border-radius: 50%; background: white; border: 1px solid #bbb; width: 30px; height: 30px; position: absolute; top: 10px; right: 10px;
}
.test:hover .eyelet { background-color: inherit; border-color: transparent;
}
.test .attitle_container { position: absolute; left: 79px; right: 40px; width: 150px; height: 100%; top: 0; bottom: 0; display: inline-table;
}
.test .attitle { display: table-cell; width: 100%; height: 100%; vertical-align: middle; color: black; text-transform: uppercase;
}
Developer | Vincenzo |
Username | vncnz |
Uploaded | October 07, 2022 |
Rating | 3 |
Size | 2,981 Kb |
Views | 14,168 |
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 |
Tintometer | 3,302 Kb |
Private Test | 4,434 Kb |
Square box with hover effect | 2,265 Kb |
Simple Date input with VueJS 2 | 10,802 Kb |
AngularJS DateTimePicker concept | 4,393 Kb |
Elegant layout with elastic menu animation | 6,245 Kb |
Simple tags input with VueJS | 8,463 Kb |
Swiping Cards | 5,691 Kb |
Datetime-writer DEMO | 3,087 Kb |
Search text highlight example with material.angular | 2,602 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 |
See Through | Larrygeams | 77,410 Kb |
A form arranged using automatic placement. | Vikasford | 2,103 Kb |
Electric worm | Jeffibacache | 2,377 Kb |
Blog demo to use given styling | Andygirl | 2,412 Kb |
Image Hover | Johnheiner | 3,409 Kb |
Social.svg.min | Larsenwork | 13,849 Kb |
JQuery exercise | Brian-baum | 3,780 Kb |
Shopping List | Markmurray | 6,015 Kb |
LBCA - Mail canvas | Emnbdx | 3,856 Kb |
A Pen by aleen42 | Aleen42 | 11,473 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!