Gradient Options
Gradient Preview
Gradient Preview
Generated Code
- Select Gradient Type: Choose the type of gradient you want to apply (e.g., linear, radial) from the available options.
- Pick Background Color: Choose a background color from the Bootstrap predefined color classes (e.g.,
Primary
,Secondary
,Success
, etc.). - Apply Gradient: Click on the “Apply Gradient” button to see the gradient applied to the selected background color.
- Preview Gradient: Observe the
Gradient Preview
section to see how the gradient looks when applied to the background color. - Copy Generated Code: Copy the Bootstrap 5 classes code provided in the
Generated Code
section. This code includes the background color class and the gradient class. - Use in Your HTML: Paste the copied code into your HTML file, placing your content within the
<div>
element to apply the gradient.