Title with adaptative background
How do I make an title with adaptative background?
Source: http://jsfiddle.net/Ch7bL/29/. What is a title with adaptative background? How do you make a title with adaptative background? This script and codes were developed by Khoné Vongsouthi on 02 December 2022, Friday.
Title with adaptative background - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Title with adaptative background</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <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> <div class="wrap-center clearfix"> <h1 class="title-primary"> <span> <span>Lorem ipsum dolor sit amet. Consectetuer adipiscing elit, nam cursus morbiutmi.</span> </span> </h1>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Title with adaptative background - Script Codes CSS Codes
.wrap-center { margin: auto; width: 420px;
}
.title-primary { position: relative; border-left: 40px solid #183a8d; width: 100%; font-weight: bold; font-size: 36px; line-height: 50px; text-transform: uppercase; color: #fff;
}
.title-primary > span { position: relative; padding: 10px 0; background: #183a8d;
}
.title-primary:before, /* firefox */
.title-primary > span:before { content: ''; display: block; position: absolute; left: -40px; top: 0; width: 40px; height: 100%; background: #183a8d;
}
.title-primary:before { /* firefox */ top: auto; bottom: -4px;
}
.title-primary span span { position: relative; left: -20px;
}
Developer | Khoné Vongsouthi |
Username | khone-vongsouthi |
Uploaded | December 02, 2022 |
Rating | 3 |
Size | 1,907 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 |
Button - Center middle | 2,347 Kb |
Social navigation in pure CSS3 | 4,061 Kb |
Jumbotron | 3,614 Kb |
Tooltip | 3,283 Kb |
List | 2,375 Kb |
Form | 4,172 Kb |
Datepicker | 3,424 Kb |
Language - Selector | 3,551 Kb |
Map | 4,058 Kb |
Menu - Restaurant | 3,741 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 |
Multiple jCarousel | Pafnuty | 2,461 Kb |
Shopping List | Markmurray | 6,015 Kb |
Flex layout example | Mofny | 1,663 Kb |
Reviews and Ratings Star | Zbnmstry | 1,591 Kb |
Android Play Store With Slick Carousel | -J0hn- | 4,982 Kb |
A Pen by Kenny Mark | Kennymark | 5,574 Kb |
Nested table email layout | Massimo-cassandro | 2,355 Kb |
Dice | Fraina | 5,026 Kb |
Google Maps API Ground Overlay | Boycetrus | 2,961 Kb |
Realistic Buttons | Stoypenny | 2,248 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!