Cotton Candy Gradient
A free linear gradient you can copy as CSS or Tailwind. Soft, airy pastel gradients for backgrounds, cards and onboarding screens.
CSS
.cotton-candy-bg {
background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
}Tailwind CSS
With Tailwind's gradient utilities:
bg-gradient-to-br from-[#fbc2eb] to-[#a6c1ee]Or the exact gradient as an arbitrary value:
bg-[image:linear-gradient(135deg,#fbc2eb_0%,#a6c1ee_100%)]FAQ
How do I use the cotton candy gradient in CSS?
Set background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%); on any element. It works in every modern browser.
How do I use the cotton candy gradient in Tailwind?
Use bg-gradient-to-br from-[#fbc2eb] to-[#a6c1ee], or the exact arbitrary value bg-[image:linear-gradient(135deg,#fbc2eb_0%,#a6c1ee_100%)].