Rita got a prepaid debit card with 20 on it. For her first purchase with the card, she bought some bulk ribbon at a craft store. The price of the ribbon was 23 cents per yard. If after that purchase there was 12.64 left on the card, how many yards of ribbon did Rita buy?

The difference between the initial amount on the card and the remaining amount is 20 - 12.64 = $<<20-12.64=7.36>>7.36

Therefore, Rita bought 7.36 / 0.23=<<<7.36/0.23=32>>>32 yards of ribbon. Answer: \boxed{32}.

To find out how many yards of ribbon Rita bought, we need to first calculate the amount she spent on the ribbon.

Let's assume Rita bought 'x' yards of ribbon.

The cost of ribbon per yard is given as 23 cents.

Therefore, Rita spent a total of 23x cents on the ribbon.

The remaining balance on the card is given as $12.64.

Since Rita initially had $20 on the card and spent some amount on ribbon, we can set up an equation and solve for 'x'.

The equation would be:
20 - 0.23x = 12.64

Let's solve this equation to find the value of 'x'.

20 - 0.23x = 12.64
Subtracting 20 from both sides:
-0.23x = 12.64 - 20
Simplifying:
-0.23x = -7.36
Dividing both sides by -0.23:
x = -7.36 ÷ -0.23
Calculating:
x ≈ 32

Therefore, Rita bought approximately 32 yards of ribbon.