CSS FasterBringing the magic of Tailwind CSS design tokens to your vanilla CSS FeaturesCSS Faster intuitive snippets mimics the utility classes you know and love, allowing you to quickly apply styles for padding, margins, typography, colors, and much more using your favorite TailwindCSS values – all with just a few keystrokes. Release NotesCurrently, the list is not exhaustive, and more classes may be available or added in future updates. 0.0.1Initial release of CSS faster ReferenceCSS Faster extension provides a comprehensive set of snippets to streamline your CSS workflow. The currently supported snippets include:
Full list of snippets:xs Extra small (0.75rem or 12px)
sm Small (0.875rem or 14px)
base Base (1rem or 16px)
lg Large (1.125rem or 18px)
xl Extra large (1.25rem or 20px)
2xl 2x extra large (1.5rem or 24px)
3xl 3x extra large (1.875rem or 30px)
4xl 4x extra large (2.25rem or 36px)
5xl 5x extra large (3rem or 48px)
6xl 6x extra large (3.75rem or 60px)
7xl 7x extra large (4.5rem or 72px)
8xl 8x extra large (6rem or 96px)
9xl 9x extra large (8rem or 128px)
t-0.5 0.125rem (2px)
t-1 0.25rem (4px)
t-1.5 0.375rem (6px)
t-2 0.5rem (8px)
t-2.5 0.625rem (10px)
t-3 0.75rem (12px)
t-3.5 0.875rem (14px)
t-4 1rem (16px)
t-5 1.25rem (20px)
t-6 1.5rem (24px)
t-7 1.75rem (28px)
t-8- 2rem (32px)
t-9 2.25rem (36px)
t-10 2.5rem (40px)
t-11 2.75rem (44px)
t-12 3rem (48px)
t-14 3.5rem (56px)
t-16 4rem (64px)
t-20 5rem (80px)
t-24 6rem (96px)
t-28 7rem (112px)
t-32 8rem (128px)
t-36 9rem (144px)
t-40 10rem (160px)
t-44 11rem (176px)
t-48 12rem (192px)
t-52 13rem (208px)
t-56 14rem (224px)
t-60 15rem (240px)
t-64 16rem (256px)
t-72 18rem (288px)
t-80 20rem (320px)
t-96 24rem (384px)
w-full width: 100%;
h-full height: 100%
m-auto margin: auto
p-auto padding: auto
flex display: flex
flex-col flex-direction: column
flex-row flex-direction: row
justify-center justify-content: center
justify-between justify-content: space-between
justify-around justify-content: space-around
absolute position: absolute
relative postion: relative
sticky position: sticky
items-center align-items: center
items-start align-items: flex-start
items-end align-items: flex-end
trunacate overflow: hidden,ellipsis,nowrap
size Set width and height
rounded-t-lg Set top border radius to large
sm: @media (min-width: 640px)
md: @media (min-width: 768px)
lg: @media (min-width: 1024px)
xl: @media (min-width: 1280px)
shadow box-shadow:..;
center-flex flex,items-center,justify-center
center-grid grid,place-content-center
flex-wrap Control flex-wrap behavior
content-around Align flex lines with space around
grid-cols-4 Define 4 grid columns
grid-rows-4 Define 4 grid rows
place-items-stretch Stretch items to fill the container
font-bold Set font weight to bold
text-center Align text to the center
transition Define transitions for properties
translate-y-2 Translate an element along the Y-axis
scale-150 Scale an element to 150%
border-4 Add a 4px border
border-white Set border color to white
opacity-100 Set opacity to 100% (fully visible)
shadow-2xl 2x extra large box shadow
text-green-500 Set text color to green-500
bg-green-100 Set background color to green-100
cursor-not-allowed Set cursor to not-allowed
outline-blue-500 Add a blue-500 outline
resize Allow resizing in both directions
select-all Select all text by default
appearance-none Remove native styling
pointer-events-auto Enable pointer events
font-mono Set font family to monospace
text-2xl Set font size to 2x extra large
leading-loose Set line height to loose
tracking-widest Set letter spacing to widest
my-4 Set top and bottom margins to 1rem
py-6 Set top and bottom padding to 1.5rem
border-l Add a left border
hidden Hide an element
slate-50 Color to slate-50
slate-100 Color to slate-100
slate-200 Color to slate-200
slate-300 Color to slate-300
slate-400 Color to slate-400
slate-500 Color to slate-500
slate-600 Color to slate-600
slate-700 Color to slate-700
slate-800 Color to slate-800
slate-900 Color to slate-900
slate-950 Color to slate-950
gray-50 Color to gray-50
gray-100 Color to gray-100
gray-200 Color to gray-200
gray-300 Color to gray-300
gray-400 Color to gray-400
gray-500 Color to gray-500
gray-600 Color to gray-600
gray-700 Color to gray-700
gray-800 Color to gray-800
gray-900 Color to gray-900
gray-950 Color to gray-950
zinc-50 Color to zinc-50
zinc-100 Color to zinc-100
zinc-200 Color to zinc-200
zinc-300 Color to zinc-300
zinc-400 Color to zinc-400
zinc-500 Color to zinc-500
zinc-600 Color to zinc-600
zinc-700 Color to zinc-700
zinc-800 Color to zinc-800
zinc-900 Color to zinc-900
zinc-950 Color to zinc-950
neutral-50 Color to neutral-50
neutral-100 Color to neutral-100
neutral-200 Color to neutral-200
neutral-300 Color to neutral-300
neutral-400 Color to neutral-400
neutral-500 Color to neutral-500
neutral-600 Color to neutral-600
neutral-700 Color to neutral-700
neutral-800 Color to neutral-800
neutral-900 Color to neutral-900
neutral-950 Color to neutral-950
stone-50 Color to stone-50
stone-100 Color to stone-100
stone-200 Color to stone-200
stone-300 Color to stone-300
stone-400 Color to stone-400
stone-500 Color to stone-500
stone-600 Color to stone-600
stone-700 Color to stone-700
stone-800 Color to stone-800
stone-900 Color to stone-900
stone-950 Color to stone-950
red-50 Color to red-50
red-100 Color to red-100
red-200 Color to red-200
red-300 Color to red-300
red-400 Color to red-400
red-500 Color to red-500
red-600 Color to red-600
red-700 Color to red-700
red-800 Color to red-800
red-900 Color to red-900
red-950 Color to red-950
orange-50 Color to orange-50
orange-100 Color to orange-100
orange-200 Color to orange-200
orange-300 Color to orange-300
orange-400 Color to orange-400
orange-500 Color to orange-500
orange-600 Color to orange-600
orange-700 Color to orange-700
orange-800 Color to orange-800
orange-900 Color to orange-900
orange-950 Color to orange-950
amber-50 Color to amber-50
amber-100 Color to amber-100
amber-200 Color to amber-200
amber-300 Color to amber-300
amber-400 Color to amber-400
amber-500 Color to amber-500
amber-600 Color to amber-600
amber-700 Color to amber-700
amber-800 Color to amber-800
amber-900 Color to amber-900
amber-950 Color to amber-950
yellow-50 Color to yellow-50
yellow-100 Color to yellow-100
yellow-200 Color to yellow-200
yellow-300 Color to yellow-300
yellow-400 Color to yellow-400
yellow-500 Color to yellow-500
yellow-600 Color to yellow-600
yellow-700 Color to yellow-700
yellow-800 Color to yellow-800
yellow-900 Color to yellow-900
yellow-950 Color to yellow-950
lime-50 Color to lime-50
lime-100 Color to lime-100
lime-200 Color to lime-200
lime-300 Color to lime-300
lime-400 Color to lime-400
lime-500 Color to lime-500
lime-600 Color to lime-600
lime-700 Color to lime-700
lime-800 Color to lime-800
lime-900 Color to lime-900
lime-950 Color to lime-950
green-50 Color to green-50
green-100 Color to green-100
green-200 Color to green-200
green-300 Color to green-300
green-400 Color to green-400
green-500 Color to green-500
green-600 Color to green-600
green-700 Color to green-700
green-800 Color to green-800
green-900 Color to green-900
green-950 Color to green-950
emerald-50 Color to emerald-50
emerald-100 Color to emerald-100
emerald-200 Color to emerald-200
emerald-300 Color to emerald-300
emerald-400 Color to emerald-400
emerald-500 Color to emerald-500
emerald-600 Color to emerald-600
emerald-700 Color to emerald-700
emerald-800 Color to emerald-800
emerald-900 Color to emerald-900
emerald-950 Color to emerald-950
teal-50 Color to teal-50
teal-100 Color to teal-100
teal-200 Color to teal-200
teal-300 Color to teal-300
teal-400 Color to teal-400
teal-500 Color to teal-500
teal-600 Color to teal-600
teal-700 Color to teal-700
teal-800 Color to teal-800
teal-900 Color to teal-900
teal-950 Color to teal-950
cyan-50 Color to cyan-50
cyan-100 Color to cyan-100
cyan-200 Color to cyan-200
cyan-300 Color to cyan-300
cyan-400 Color to cyan-400
cyan-500 Color to cyan-500
cyan-600 Color to cyan-600
cyan-700 Color to cyan-700
cyan-800 Color to cyan-800
cyan-900 Color to cyan-900
cyan-950 Color to cyan-950
sky-50 Color to sky-50
sky-100 Color to sky-100
sky-200 Color to sky-200
sky-300 Color to sky-300
sky-400 Color to sky-400
sky-500 Color to sky-500
sky-600 Color to sky-600
sky-700 Color to sky-700
sky-800 Color to sky-800
sky-900 Color to sky-900
sky-950 Color to sky-950
blue-50 Color to blue-50
blue-100 Color to blue-100
blue-200 Color to blue-200
blue-300 Color to blue-300
blue-400 Color to blue-400
blue-500 Color to blue-500
blue-600 Color to blue-600
blue-700 Color to blue-700
blue-800 Color to blue-800
blue-900 Color to blue-900
blue-950 Color to blue-950
indigo-50 Color to indigo-50
indigo-100 Color to indigo-100
indigo-200 Color to indigo-200
indigo-300 Color to indigo-300
indigo-400 Color to indigo-400
indigo-500 Color to indigo-500
indigo-600 Color to indigo-600
indigo-700 Color to indigo-700
indigo-800 Color to indigo-800
indigo-900 Color to indigo-900
indigo-950 Color to indigo-950
violet-50 Color to violet-50
violet-100 Color to violet-100
violet-200 Color to violet-200
violet-300 Color to violet-300
violet-400 Color to violet-400
violet-500 Color to violet-500
violet-600 Color to violet-600
violet-700 Color to violet-700
violet-800 Color to violet-800
violet-900 Color to violet-900
violet-950 Color to violet-950
purple-50 Color to purple-50
purple-100 Color to purple-100
purple-200 Color to purple-200
purple-300 Color to purple-300
purple-400 Color to purple-400
purple-500 Color to purple-500
purple-600 Color to purple-600
purple-700 Color to purple-700
purple-800 Color to purple-800
purple-900 Color to purple-900
purple-950 Color to purple-950
fuchsia-50 Color to fuchsia-50
fuchsia-100 Color to fuchsia-100
fuchsia-200 Color to fuchsia-200
fuchsia-300 Color to fuchsia-300
fuchsia-400 Color to fuchsia-400
fuchsia-500 Color to fuchsia-500
fuchsia-600 Color to fuchsia-600
fuchsia-700 Color to fuchsia-700
fuchsia-800 Color to fuchsia-800
fuchsia-900 Color to fuchsia-900
fuchsia-950 Color to fuchsia-950
pink-50 Color to pink-50
pink-100 Color to pink-100
pink-200 Color to pink-200
pink-300 Color to pink-300
pink-400 Color to pink-400
pink-500 Color to pink-500
pink-600 Color to pink-600
pink-700 Color to pink-700
pink-800 Color to pink-800
pink-900 Color to pink-900
pink-950 Color to pink-950
rose-50 Color to rose-50
rose-100 Color to rose-100
rose-200 Color to rose-200
rose-300 Color to rose-300
rose-400 Color to rose-400
rose-500 Color to rose-500
rose-600 Color to rose-600
rose-700 Color to rose-700
rose-800 Color to rose-800
rose-900 Color to rose-900
rose-950 Color to rose-950
Enjoy! |