Flexbox + Width Hack

(https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/step-52)


Apparently, the min/max width is necessary “since we are using flexbox”. Upon testing, this seems not to be the case. Using logic, this is most likely not the case.

Can someone confirm that this is useless waffle? :anguished:

(Similar topic that seems to confirm my explanation: Isn’t setting a width pointless if you have the same value min-width & max-width? - HTML-CSS - The freeCodeCamp Forum)

What’s even more ironic is that in the next step, this “hacky method because we are using flexbox” is forgotten about


:crazy_face: :stuck_out_tongue_winking_eye: :crazy_face: :stuck_out_tongue_winking_eye: :crazy_face: :stuck_out_tongue_winking_eye: :crazy_face: :hot_face: :hot_face: :cold_face: :stuck_out_tongue_winking_eye: :roll_eyes: :roll_eyes: :smirk: :cold_face: :hot_face: :cold_face: :smirk: :smirk:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.