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

Home Forums CSS Boxed Hierarchical Text with Line Breaks Reply To: Boxed Hierarchical Text with Line Breaks


The goal is to break the text and each of the enclosing nested boxes at some preset display width.

So the logic would be; Create the CSS you want on smaller screens… change it in a media query for larger screens.

You should show us what youve tried in a CodePen. Maybe create both views in separate pens first and then try to merge the views in a pen that demonstrates use of media queries. We can help with suggestions at that point.