while styling the coffee cards, thier width is 22% , but they are div’s , how can act as inline elements,like all the 4 divs displayed in the same line, if we delete the float:left property,they are behaving as div’s. What difference did the float:left property do?
@swathimelapu8 Please share the code so I can better understand your query.
Sir,the code is same as the instuctor guided me, but my query is:
If we remove(or comment out) float:left property in card class , all the four div’s(coffee images) displaying in 4 different levels.Why is that so?
@swathimelapu8 please share the link to the lecture so I can better understand the exact situation.
@swathimelapu8 I’ll look into this and get back to you by tomorrow.
You may upload these files on Google Drive and share a public link.