Skip to content
Discussion options

You must be logged in to vote

Haha, @wongjn, I just solved it when I saw your message. I just added my custom utility classes under plugins instead https://play.tailwindcss.com/EbEDFJnenn?layout=horizontal&file=config:

module.exports = {
  theme: {
    extend: {
      backgroundImage: {
        'gradient-border':
          'linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255)), linear-gradient(to right, rgb(147, 197, 253), rgb(124, 58, 237))',
      },
    },
  },
  plugins: [
    function ({ addUtilities }) {
      addUtilities({
        '.clip-padding-border': {
          backgroundClip: 'padding-box, border-box',
        },
        '.origin-padding-border': {
          backgroundOrigin: 'padding-box, border-box',…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@do-kevin
Comment options

@wongjn
Comment options

wongjn Dec 22, 2022
Collaborator

Comment options

You must be logged in to vote
0 replies
Answer selected by do-kevin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants