Hey fellas, I am learning responsive web design and everything has been going well. However, I was confused with how the span element aligns wrapped text right but in the stylesheet the only style applied to the span was through a descendant selector (calories-info span selector)
I understand the span element is not semantic so how does it have this effect, for those who completed the project, could you explain where in the styling this effect was applied( the alignment effect of wrapping text in a span)
it’s flex that does the aligning, the span element is only used to separate the text into chunks so that flex
can align the various chunks
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.