Speech Bubble, Bg Image
How do I make an speech bubble, bg image?
Speech Bubble, Bg Image. Allows border shadow, border radius and a background image that covers the whole module and continues in to the speech bubble pointer. Could use clip-path to generate the whole thing but this would prevent the border radius and the box shadow.. What is a speech bubble, bg image? How do you make a speech bubble, bg image? This script and codes were developed by Chris Sargent on 29 November 2022, Tuesday.
Speech Bubble, Bg Image - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Speech Bubble, Bg Image</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="module"> You can put anything you like in here.
</div>
</body>
</html>
Speech Bubble, Bg Image - Script Codes CSS Codes
.module { position: relative; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: cover; background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%), url(https://unsplash.it/800/200); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%), url(https://unsplash.it/800/200); height: 200px; width: 600px; margin-left: 20px; border-radius: 10px; box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.23), 0 3px 6px 0 rgba(0, 0, 0, 0.16); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; color: #fff; font-size: 1.5em; font-family: Tahoma, Verdana, Arial, sans-serif;
}
.module::before { display: block; content: ''; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; top: 0; left: -20px; width: 100%; height: 100%; background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%), url(https://unsplash.it/800/200); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%), url(https://unsplash.it/800/200); -webkit-clip-path: polygon(20px 20px, 20px 20px, 20px 60px, 20px 60px, 0 40px); clip-path: polygon(20px 20px, 20px 20px, 20px 60px, 20px 60px, 0 40px);
}
Developer | Chris Sargent |
Username | ChrisSargent |
Uploaded | November 29, 2022 |
Rating | 3 |
Size | 2,716 Kb |
Views | 10,120 |
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 |
Cupboard Test | 1,822 Kb |
IOS Pure CSS Slide Toggle Checkbox | 2,374 Kb |
Grid Test - Flexbox | 3,238 Kb |
Triangles using Borders | 1,541 Kb |
Angle Gradient | 1,937 Kb |
Map Expand 1 | 2,637 Kb |
Checkbox Mobile Nav Toggle Test | 2,295 Kb |
Engine Anim Loader | 2,268 Kb |
Angular Animation Done Call Back | 2,520 Kb |
Flexbox Linebreaks V2 | 1,914 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 |
Scroll to view if element partially out of view port height | ChrisMaki | 2,104 Kb |
CSS Link Zoom On Click | Bryce | 1,960 Kb |
Mario | Takaneichinose | 3,902 Kb |
Beveled corners using CSS border attribute | DawsonMediaD | 2,136 Kb |
Animate a paper plane along an SVG path, looking ahead | PotatoDie | 3,734 Kb |
Heartbeat | Apetrov | 2,079 Kb |
Drill-down Map | Good886 | 8,484 Kb |
Em Test | Rodesco | 1,784 Kb |
Reading Grid | Tappily | 4,306 Kb |
Banner Ad | Raquellorenzana | 4,172 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!