Multiple Fluid Gradients

Developer
Size
2,626 Kb
Views
18,216

How do I make an multiple fluid gradients?

Wanted to see if I could achieve this without an image. That way I'm not limited by the height of the image as far as how tall the element content can be.. What is a multiple fluid gradients? How do you make a multiple fluid gradients? This script and codes were developed by Keith Wyland on 13 September 2022, Tuesday.

Multiple Fluid Gradients Previews

Multiple Fluid Gradients - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Multiple Fluid Gradients</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <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! */ div { background-color: grey; background-image: linear-gradient(to bottom, #CC693A, #C34265 90%), linear-gradient(to bottom, #C34265, #AA4CA0 90%), linear-gradient(to bottom, #AA4CA0, #6161A0 90%), linear-gradient(to bottom, #6161A0, #CC693A 90%); background-size: 25% 100%, 50% 100%, 75% 100%, 100% 100%; background-position: top left; background-repeat: no-repeat; padding: 1.5em .5em; margin: 0 auto; max-width: 1200px; text-transform: uppercase; text-align: center; color: white; font-weight: 900;
}
body { font-size: 2em;
}
@media screen and (min-width: 600px) { body { font-size: 4em; }
}
* {box-sizing: border-box;} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div>Multiple fluid gradients behind one element</div> <script src="js/index.js"></script>
</body>
</html>

Multiple Fluid Gradients - Script Codes CSS Codes

div { background-color: grey; background-image: linear-gradient(to bottom, #CC693A, #C34265 90%), linear-gradient(to bottom, #C34265, #AA4CA0 90%), linear-gradient(to bottom, #AA4CA0, #6161A0 90%), linear-gradient(to bottom, #6161A0, #CC693A 90%); background-size: 25% 100%, 50% 100%, 75% 100%, 100% 100%; background-position: top left; background-repeat: no-repeat; padding: 1.5em .5em; margin: 0 auto; max-width: 1200px; text-transform: uppercase; text-align: center; color: white; font-weight: 900;
}
body { font-size: 2em;
}
@media screen and (min-width: 600px) { body { font-size: 4em; }
}
* {box-sizing: border-box;}

Multiple Fluid Gradients - Script Codes JS Codes

/*
Colors:
https://color.adobe.com/Lula-1-color-theme-7416619/edit/?copy=true&base=2&rule=Custom&selected=4&name=Copy%20of%20Lula%201&mode=rgb&rgbvalues=0.960784,0.815686,0.25098,1,0.611765,0.427451,0.964706,0.458824,0.596078,0.866667,0.498039,0.823529,0.580392,0.580392,0.823529&swatchOrder=0,1,2,3,4
CC693A -- FF9C6D
C34265 -- F67598
AA4CA0 -- DD7FD2
6161A0 -- 9494D2
*/
Multiple Fluid Gradients - Script Codes
Multiple Fluid Gradients - Script Codes
Home Page Home
Developer Keith Wyland
Username keithwyland
Uploaded September 13, 2022
Rating 4
Size 2,626 Kb
Views 18,216
Do you need developer help for Multiple Fluid Gradients?

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!

Keith Wyland (keithwyland) Script Codes
Create amazing SEO 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!