79426860

Date: 2025-02-10 11:03:12
Score: 2
Natty:
Report link

In case of using Tailwind CSS library

You can set alpha value to 50% this way:

.my-class {
    background-color: theme('path.to.color' / 50%);
}

docs: https://v3.tailwindcss.com/docs/functions-and-directives#theme

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: skorenb