# Backgrounds

Visit https://tailwindcss.com/docs/background-attachment (opens new window) for more information

# Background Attachment

Class
Properties
bg-fixedbackground-attachment: fixed;
bg-localbackground-attachment: local;
bg-scrollbackground-attachment: scroll;

# Background Clip

Class
Properties
bg-clip-borderbackground-clip: border-box;
bg-clip-paddingbackground-clip: padding-box;
bg-clip-contentbackground-clip: content-box;
bg-clip-textbackground-clip: text;

# Background Opacity

Class
Properties
bg-opacity-0--tw-bg-opacity: 0;
bg-opacity-5--tw-bg-opacity: 0.05;
bg-opacity-10--tw-bg-opacity: 0.1;
bg-opacity-20--tw-bg-opacity: 0.2;
bg-opacity-25--tw-bg-opacity: 0.25;
bg-opacity-30--tw-bg-opacity: 0.3;
bg-opacity-40--tw-bg-opacity: 0.4;
bg-opacity-50--tw-bg-opacity: 0.5;
bg-opacity-60--tw-bg-opacity: 0.6;
bg-opacity-70--tw-bg-opacity: 0.7;
bg-opacity-75--tw-bg-opacity: 0.75;
bg-opacity-80--tw-bg-opacity: 0.8;
bg-opacity-90--tw-bg-opacity: 0.9;
bg-opacity-95--tw-bg-opacity: 0.95;
bg-opacity-100--tw-bg-opacity: 1;

# Background Position

Class
Properties
bg-bottombackground-position: bottom;
bg-centerbackground-position: center;
bg-leftbackground-position: left;
bg-left-bottombackground-position: left bottom;
bg-left-topbackground-position: left top;
bg-rightbackground-position: right;
bg-right-bottombackground-position: right bottom;
bg-right-topbackground-position: right top;
bg-topbackground-position: top;

# Background Repeat

Class
Properties
bg-repeatbackground-repeat: repeat;
bg-no-repeatbackground-repeat: no-repeat;
bg-repeat-xbackground-repeat: repeat-x;
bg-repeat-ybackground-repeat: repeat-y;
bg-repeat-roundbackground-repeat: round;
bg-repeat-spacebackground-repeat: space;

# Background Size

Class
Properties
bg-autobackground-size: auto;
bg-coverbackground-size: cover;
bg-containbackground-size: contain;

# Background Image

Class
Properties
bg-nonebackground-image: none;
bg-gradient-to-tbackground-image: linear-gradient(to top, var(--tw-gradient-stops));
bg-gradient-to-trbackground-image: linear-gradient(to top right, var(--tw-gradient-stops));
bg-gradient-to-rbackground-image: linear-gradient(to right, var(--tw-gradient-stops));
bg-gradient-to-brbackground-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
bg-gradient-to-bbackground-image: linear-gradient(to bottom, var(--tw-gradient-stops));
bg-gradient-to-blbackground-image: linear-gradient(to bottom left, var(--tw-gradient-stops));
bg-gradient-to-lbackground-image: linear-gradient(to left, var(--tw-gradient-stops));
bg-gradient-to-tlbackground-image: linear-gradient(to top left, var(--tw-gradient-stops));