0
我該如何給#{self.o_cord.name}和#{self.o_product.full_name}一個內聯樣式,使它們的背景顏色爲橙色?他們在.rb文件中,我不確定這是否會改變任何內容。提前致謝!我如何設計這款內嵌式?
if self.o_connection.dongle?
return "Plug the #{self.o_cord.name} end of the #{self.o_product.full_name} into the #{self.i_product.full_name}."
如我n,使用哪些選擇器和屬性? – Goodsoup
是的,我不確定如何將內聯CSS放入return語句的語法 –