Container and clip path

Size
2,095 Kb
Views
16,192

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 Previews

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;
}
Container and clip path - Script Codes
Container and clip path - Script Codes
Home Page Home
Developer Anton Staroverov
Username tonystar
Uploaded November 18, 2022
Rating 3
Size 2,095 Kb
Views 16,192
Do you need developer help for Container and clip path?

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!

Anton Staroverov (tonystar) Script Codes
Create amazing web content 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!