DEV Community


Discussion on: Building an A4 resume to add to your website (and making it printable)

khrome83 profile image
Zane Milakovic

You should be able to “display:none” items in a print media query.

You just need to have a class on those items. I have not see this with svelte.

Honestly though, I typically write a print style sheet outside of svelte and just attach it globally.

Thread Thread
coopercodes profile image
🧸 🏳️‍🌈 cooper-codes 💻 🎮 Author

Yeah, it worked fine as a simple HTML and SCSS page, but I couldn't target higher up the tree in svelte I think because they are components and they just weren't being picked up.
So I went the other way and just targeted what I needed to... ended up being less code than the other way too.