The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Flexbox vs. SASS Reply To: Flexbox vs. SASS


I might be missing something but this wont work,

width: 600px / 960px * 100%; as 100% has no context (100% of what?) thats like saying ( *100 is different)

width: 600em + 20px / 0.5vh SASS has absolutely no idea what what an em is or half the viewport height, those calculations can only be done (in css) using the calc() attribute.