4 color border for highlighting feature elements
How do I make an 4 color border for highlighting feature elements?
A nice top border style for highlighting feature content or anytihng else. a bonus included is a divider class for . What is a 4 color border for highlighting feature elements? How do you make a 4 color border for highlighting feature elements? This script and codes were developed by Nick Nikolov on 17 October 2022, Monday.
4 color border for highlighting feature elements - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>4 color border for highlighting feature elements</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <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! */ body { background: #f3f3ff; font-family: "Open Sans", "Arial", "sans-serif"; color: #446; padding: 40px;
}
.well { box-shadow: rgba(0, 0, 0, 0.3) 0 2px 4px -2px; padding: 30px; background: #fff; margin: 20px 0;
}
.well-feature { position: relative;
}
.well-feature:before { top: 0; right: 0; height: 4px; width: 100%; max-width: 300px; content: ''; display: block; position: absolute; background: #03A9F4; /* Old browsers */ background: -moz-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, right top, color-stop(0%, #03A9F4), color-stop(25%, #03A9F4), color-stop(25%, #D81B60), color-stop(50%, #D81B60), color-stop(50%, #FFEB3B), color-stop(75%, #FFEB3B), color-stop(75%, #64DD17), color-stop(100%, #64DD17)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* IE10+ */ background: linear-gradient(to right, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#03A9F4, endColorstr=#64DD17, GradientType=1); /* IE6-9 */
}
hr.divider-feature { margin: 20px 0; height: 1px; border: none; background: #ccc; position: relative;
}
hr.divider-feature:after { top: 0; right: 0; height: 100%; width: 100%; max-width: 300px; content: ''; display: block; position: absolute; background: #03A9F4; /* Old browsers */ background: -moz-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, right top, color-stop(0%, #03A9F4), color-stop(25%, #03A9F4), color-stop(25%, #D81B60), color-stop(50%, #D81B60), color-stop(50%, #FFEB3B), color-stop(75%, #FFEB3B), color-stop(75%, #64DD17), color-stop(100%, #64DD17)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* IE10+ */ background: linear-gradient(to right, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#03A9F4, endColorstr=#64DD17, GradientType=1); /* IE6-9 */
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css'>
<div class="well well-feature"> <h2>Hello I'm in a well</h2> <p>But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness.</p>
</div>
<p>Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure.</p>
<hr class="divider-feature"/>
<p>To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?</p>
</body>
</html>
4 color border for highlighting feature elements - Script Codes CSS Codes
body { background: #f3f3ff; font-family: "Open Sans", "Arial", "sans-serif"; color: #446; padding: 40px;
}
.well { box-shadow: rgba(0, 0, 0, 0.3) 0 2px 4px -2px; padding: 30px; background: #fff; margin: 20px 0;
}
.well-feature { position: relative;
}
.well-feature:before { top: 0; right: 0; height: 4px; width: 100%; max-width: 300px; content: ''; display: block; position: absolute; background: #03A9F4; /* Old browsers */ background: -moz-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, right top, color-stop(0%, #03A9F4), color-stop(25%, #03A9F4), color-stop(25%, #D81B60), color-stop(50%, #D81B60), color-stop(50%, #FFEB3B), color-stop(75%, #FFEB3B), color-stop(75%, #64DD17), color-stop(100%, #64DD17)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* IE10+ */ background: linear-gradient(to right, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#03A9F4, endColorstr=#64DD17, GradientType=1); /* IE6-9 */
}
hr.divider-feature { margin: 20px 0; height: 1px; border: none; background: #ccc; position: relative;
}
hr.divider-feature:after { top: 0; right: 0; height: 100%; width: 100%; max-width: 300px; content: ''; display: block; position: absolute; background: #03A9F4; /* Old browsers */ background: -moz-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, right top, color-stop(0%, #03A9F4), color-stop(25%, #03A9F4), color-stop(25%, #D81B60), color-stop(50%, #D81B60), color-stop(50%, #FFEB3B), color-stop(75%, #FFEB3B), color-stop(75%, #64DD17), color-stop(100%, #64DD17)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(left, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* IE10+ */ background: linear-gradient(to right, #03A9F4 0%, #03A9F4 25%, #D81B60 25%, #D81B60 50%, #FFEB3B 50%, #FFEB3B 75%, #64DD17 75%, #64DD17 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#03A9F4, endColorstr=#64DD17, GradientType=1); /* IE6-9 */
}
![4 color border for highlighting feature elements - Script Codes](http://shots.codepen.io/necks/pen/eNOQvy-512.jpg)
Developer | Nick Nikolov |
Username | necks |
Uploaded | October 17, 2022 |
Rating | 3 |
Size | 4,105 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 |
SVG Clock | 2,163 Kb |
Spinning Loader | 2,273 Kb |
Range bar with indicator | 3,312 Kb |
CSS Animated Weather icons | 5,145 Kb |
60fps animated SVG waves hero | 3,268 Kb |
Moblie friendly top navbar | 3,556 Kb |
Page header bar toggle on scroll | 4,141 Kb |
Heart Rating | 3,349 Kb |
Single element speech bubble | 3,191 Kb |
Subtle site navigation with description | 3,206 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 |
Shopping List | Markmurray | 6,015 Kb |
Video Player Custom Controls | EleftheriaBatsou | 3,665 Kb |
CSS Variables | Jdsteinbach | 4,759 Kb |
A Pen by Bryan Rojas | Bryanrojas | 1,873 Kb |
Add This API | ThatGuySam | 2,848 Kb |
Headroom.js demo | WickyNilliams | 3,982 Kb |
Revolving Text Landing Page Trial | TimRuby | 2,976 Kb |
Count up | Alanshortis | 2,391 Kb |
Starfield old school style | Bolloxim | 5,214 Kb |
Transitioning application screens with semantically named classes | Djgrant | 3,697 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!