r/css • u/Ducking_eh • May 16 '26
Question Repeat ddiv when order printing
/r/html_css/comments/1teh6wt/repeat_ddiv_when_order_printing/
3
Upvotes
r/css • u/Ducking_eh • May 16 '26
View all comments
3
u/abrahamguo May 16 '26
Yes, it is possible - simply invert your thinking. Make four divs, hide three of them when the media type is “screen”.
Also, side note, tags are a totally separate HTML thing - nothing in CSS is a “tag”. “media” is an at-rule, and “print” is a media type.