Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aksamitnaya/a055ec2eb627c51d254ba2744d38eb64 to your computer and use it in GitHub Desktop.
Save aksamitnaya/a055ec2eb627c51d254ba2744d38eb64 to your computer and use it in GitHub Desktop.
Example of Linear Gradient:
.pricing-table__heading {
background-image: linear-gradient(180deg, #000 0%, #f2295b 100%);
}
_______________________________________________________________________
Example of Radial Gradient:
.pricing-table__heading {
background-image: radial-gradient(at center center, #000 0%, #f2295b 100%);
}
_______________________________________________________________________
In case if you use Elementor Pro and add code to the following section: http://prntscr.com/o3a03h, you need to add `selector macros before
selector .pricing-table__heading {
background-image: linear-gradient(180deg, #000 0%, #f2295b 100%);
}
.pricing-table__heading {
background-image: radial-gradient(at center center, #000 0%, #f2295b 100%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment