Linear Gradient
Linear Gradient

Linear Gradient

Code Snippets
  • How to add a linear gradient to any CSS class as background
notion image
.notion-gray_background_co { background: linear-gradient(to right, #c81eab, #f33f60); padding:30px; border-radius: var(--border-radius); } .notion-gray_background_co .notion-page-icon-inline{ display: none; } .notion-gray_background_co>*{ color: white; text-align: center; }
 
  • Link a tool to generate a gradient
 
On this page