Container and clip path
How do I make an container and clip path?
What is a container and clip path? How do you make a container and clip path? This script and codes were developed by Anton Staroverov on 18 November 2022, Friday.
Container and clip path - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Container and clip path</title> <link rel='stylesheet prefetch' href='http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="header"> <div class="container"> <div class="header-body"> <div class="row"> <div class="col-sm-6"> <h1>Test Header</h1> </div> </div> </div> </div> <div class="header-bar"></div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/js/bootstrap.min.js'></script>
</body>
</html>
Container and clip path - Script Codes CSS Codes
.header { background: url(http://lorempixel.com/1920/400/) no-repeat center center; background-size: cover; position: relative;
}
h1 { color: white;
}
.header-body { background: url(http://lorempixel.com/1920/400/) no-repeat center center; background-size: cover; height: 400px; -webkit-clip-path: polygon(15px 0, 100% 0, 100% 80%, 155px 80%, 85px 90%, 15px 80%); clip-path: polygon(15px 0, 100% 0, 100% 80%, 155px 80%, 85px 90%, 15px 80%); position: relative; z-index: 1;
}
.header-bar { background: #aaa; width: 100%; height: 20%; position: absolute; bottom: 0;
}
Developer | Anton Staroverov |
Username | tonystar |
Uploaded | November 18, 2022 |
Rating | 3 |
Size | 2,095 Kb |
Views | 16,192 |
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 |
Bootstrap 4 Floating Labels | 1,899 Kb |
Bootstrap Perfect | 2,166 Kb |
Bootstrap 4 Float Label | 2,732 Kb |
Pure-CSS Float Label. Finally. | 3,831 Kb |
Col togglers | 9,268 Kb |
Bootstrap 3 Float Label | 2,581 Kb |
Bootstrap Template | 2,163 Kb |
Pure-CSS 3D Spinning Text | 1,574 Kb |
Bootstrap Hover Tabs | 1,935 Kb |
Loader | 3,362 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 |
Pure CSS Torch Light | Juliendargelos | 2,727 Kb |
Animated Logo | Shakdaniel | 2,672 Kb |
Tree growth tests | Orchard | 3,818 Kb |
Flat UI Button | Honchoman | 2,289 Kb |
A Pen by lizz | Lizz | 10,068 Kb |
Sticky Navbar | Phantomesse | 5,106 Kb |
A Pen by aleen42 | Aleen42 | 11,473 Kb |
Faces SVG animation | ScavengerFrontend | 2,957 Kb |
Simple search using AngularJS | Haykou | 1,802 Kb |
Twinner Spinner II | Katydecorah | 2,974 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!