Next, let’s add size options to our button. We’re going to have four different size options, which we’ll define directly inside our base button.
lg
: Largebase
: Base (which we already have)sm
: Smallxs
: Extra small
Join Adocasts Plus for $8/mo, or sign into an existing Adocasts Plus account, to get access to all of our lessons.
We'll add four size options to our base button large, base, small, and extra small. These sizes will then automatically be available as we add our button variants and styles.
Next, let’s add size options to our button. We’re going to have four different size options, which we’ll define directly inside our base button.
lg
: Large
base
: Base (which we already have)
sm
: Small
xs
: Extra small
Be the first to comment!