Looking for a CSS-only solution to move an element under specific conditions based on width breakpoints.
Breakpoints are already defined in the stylesheets for mobile styling, but need the icon to display below content at certain widths.
The page displays a repeating list of items with number, text, and icon that switch positions. Must remain responsive without using float due to varying content lengths.
Desktop view example can be seen here: JS Fiddle. Handles long text well while keeping the layout fluid.
For mobile, the icon should extend full width and appear below the text.
Current issue is the icon switching position between repeated items when resized.
Is there a way to use CSS3 to relocate the icon within each item specifically for mobile?
Mobile preview of the current setup can be viewed here. The goal is to have the icon consistently below the text without fixed dimensions.
Some numbers correctly display the icon below the text, while others do not.
Any suggestions or solutions would be appreciated. Thank you!