This is about the Bulma CSS framework
I'm using Bulma version [0.4.1]
I am sure this issue is not a duplicate?
It would be nice to
.is-([0-9]+)-print classesIt might also be reasonable to hide some elements in print styles like buttons and navs by default but that may be to invasive, unintuitive and in my experience a few .is-hidden-print classes are easily added.
I鈥檓 not familiar with sass, but in case you like the idea of having print utility classes i might be able to put together a pull request.
Agreed, this is a great idea, that seems manageable to implement.
Did this go anywhere? Would be nice to be able to control the display of my bulma layout for print!
I found some good ideas here: https://uxdesign.cc/i-totally-forgot-about-print-style-sheets-f1e6604cfd6.
I'll try this for my website using bulma.
馃憤
I'm all in for .is-hidden-print at the very least. I've initiated something in #2329.
@media print {
.is-hidden-print {
display: none !important;
}
}
I have this in my project. Let me know if it's bad form. I'm relatively new to CSS.
column is-[x]-print would be nice, along with mobile, tablet, desktop etc
hi, would love to try this feature. but the commit seems to have conflict?
Hey @jgthms, @kmohrf, @o8e
I think we need to adding support for print by:
@media print).background-image.background-color and color of the print page.a[href^="http"]:not([href*="mywebsite.com"]):after {
content: " ("attr(href)")";
}
that's all in my mind right now. I could update the list later.
Here is what we're using, based on https://github.com/jgthms/bulma/pull/2329:
https://gitlab.com/find-it-program-locator/newtowne/-/blob/8.x-1.x/src/global/_print.sass
Most helpful comment
column is-[x]-printwould be nice, along withmobile,tablet,desktopetc